BO with Guid (UniqueIdentifier) as Primary Key


Author
Message
Chris Diesel
Chris Diesel
StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
I originally had a table with an Integer Primary Key that was Auto Generated (Is Identity = true) on the server.  The business object property _PrimaryKeyFields contains the field "Id".

I added a new field Guid (UniqueIdentifier) to the table and changed the primary key to it instead of the Id field.  When I build the partial class with the Business Object Mapper, the _PrimaryKeyFields property does not contain any field names.

What am I doing wrong???
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search