StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
guid keys
http://forum.strataframe.net/Topic2342.aspx
By Daniel Essin
-
8/21/2006
Am I correct that bo's with Guid keys should be set to PrimaryKeyIsAutoincrement = false?
By StrataFrame Team
-
8/22/2006
Yes, the PrimaryKeyIsAutoIncremented property should be set to false. Also, you'll need to set the primary key to a new guid in the SetDefaultValues() method. like this:
this.MyPk = Guid.NewGuid();
By Daniel Essin
-
8/22/2006
Thank you
By StrataFrame Team
-
8/23/2006
No problem