This question is locked. New answers and comments are not allowed.
Hi Team,
We are new to ORM. We have created the ORM objects for the database and when we query a table, it pulls all the fields along with the values from the other foreign tables related to this. Although all the values are available in the current object, when we try to return the object to another program through a web service, some of the values were found to be missing. After digging through the code, we found that some of the members of the ORM class were generated of type IList, which are by nature not serializable, hence those members weren't passed through the web service. We tried changing the IList into List, but the program is not compiling. Is there a way out of this?
Regards.
We are new to ORM. We have created the ORM objects for the database and when we query a table, it pulls all the fields along with the values from the other foreign tables related to this. Although all the values are available in the current object, when we try to return the object to another program through a web service, some of the values were found to be missing. After digging through the code, we found that some of the members of the ORM class were generated of type IList, which are by nature not serializable, hence those members weren't passed through the web service. We tried changing the IList into List, but the program is not compiling. Is there a way out of this?
Regards.