Why all properties in an entity have object type?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Thenrich
Posts: 74
Joined: Sun 21 Dec 2014 19:47

Why all properties in an entity have object type?

Post by Thenrich » Tue 02 Feb 2016 19:10

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.

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Wed 03 Feb 2016 15:30

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.

Post Reply