Page 1 of 1

Why all properties in an entity have object type?

Posted: Tue 02 Feb 2016 19:10
by Thenrich
I generated the entities from tables in SQL Server. I noticed that in all the metadata files, all the properties have type of 'object' instead of types like int and string. Why is that? However in the dto files, the types are correct. I am using the latest version of Entity Developer.

Re: Why all properties in an entity have object type?

Posted: Wed 03 Feb 2016 15:30
by Shalex
Please send us a test model for reproducing the generation of type 'object' instead of types like int and string with the predefined DbContext template.