GUID not being generated automatically when db.submitchanges()

Posted by BlindingDawn on Stack Overflow See other posts from Stack Overflow or by BlindingDawn
Published on 2011-03-13T00:06:16Z Indexed on 2011/03/13 0:10 UTC
Read the original article Hit count: 196

Filed under:
|
|

I have a couple of tables I ported over to a new database. Everything is exactly the same from the legacy one to the new one. The back-end code that submits the user generated data to the database is also the same. When I submit changes to the database, all of the submitted information populates the correct columns but the column that stores the GUID populates with all 0's. When I enter in the columns manually using SQL Server Management Studio, the GUID gets populated as it does in the legacy version. Am I missing something?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sql