2
Reply

Generating a GUID field in an Entity Framework Model

Sam Hobbs

Sam Hobbs

Jan 24 2013 4:24 PM
1.5k

I have a SQL Server table that I added two fields to. One field is an int and the other is a GUID (SQL Server type uniqueidentifier). I re-generated the Entity Framework Model and both fields are in the model, however the GUID field is not in the EntityObject constructor. The int field is in the constructor but not the GUID.

 

 


Answers (2)