Sam Hobbs

Sam Hobbs

  • 57
  • 30.1k
  • 1.9m

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)