This question is locked. New answers and comments are not allowed.
Hi,
I'm trying the new version of Open Access (Telerik_OpenAccess_ORM_2009_1_311_trial) and I created the SofiaCarRental example. Everything works fine.
Now I'm trying to query some table of our database and I get the following error:
{"PC parameter 0 is transient: Entities.ContactPerson: Entities.ContactPerson"} Telerik.OpenAccess.OpenAccessException {Telerik.OpenAccess.Exceptions.InvalidOperationException}
The following code works fine:
var getPersons = from persons in newScope.Extent<ContactPerson>()
where persons.Username == person.Username && persons.Password == "secret"
select persons;
The following code goes wrong:
var getPersons = from persons in newScope.Extent<ContactPerson>()
where persons.Username == person.Username && persons.Password == person.Password
select persons;
I don't get it because the person.Password returns a string.
Could you please help me out, I spent a few hours on this problem but I can't get it fixed.
Regards,
Vincent Otterloo
I'm trying the new version of Open Access (Telerik_OpenAccess_ORM_2009_1_311_trial) and I created the SofiaCarRental example. Everything works fine.
Now I'm trying to query some table of our database and I get the following error:
{"PC parameter 0 is transient: Entities.ContactPerson: Entities.ContactPerson"} Telerik.OpenAccess.OpenAccessException {Telerik.OpenAccess.Exceptions.InvalidOperationException}
The following code works fine:
var getPersons = from persons in newScope.Extent<ContactPerson>()
where persons.Username == person.Username && persons.Password == "secret"
select persons;
The following code goes wrong:
var getPersons = from persons in newScope.Extent<ContactPerson>()
where persons.Username == person.Username && persons.Password == person.Password
select persons;
I don't get it because the person.Password returns a string.
Could you please help me out, I spent a few hours on this problem but I can't get it fixed.
Regards,
Vincent Otterloo