Sam Hobbs

Sam Hobbs

  • 51
  • 29.3k
  • 2.1m

Generating a GUID field in an Entity Framework Model

Jan 24 2013 4:24 PM

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)