PK identification in Mapper


Author
Message
Daniel Essin
Daniel Essin
StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)StrataFrame User (339 reputation)
Group: Forum Members
Posts: 235, Visits: 309
I have a 2 database tables defined as in erd.jpg. In the mapper (see jpg's) each table has only one field flagged with the key icon. I am confused.
Attachments
erd.jpg (140 views, 12.00 KB)
mapperUsers.jpg (131 views, 8.00 KB)
mapperRoles.jpg (163 views, 4.00 KB)
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
When you configure your tables with a guid primary key, are you using a Char(32) data type and putting the guid in that, or are you using the UNIQUEIDENTIFIER data type and storing the guids there? Because if you're using the Char(32) type, you might consider changing them to the UNIQUEIDENTIFIER because it's half the size and optimized for guids. Also your field properties on the business objects would return a System.Guid rather than a string. Just a thought.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Daniel Essin - 20 Years Ago
Daniel Essin - 20 Years Ago
StrataFrame Team - 20 Years Ago
StrataFrame Team - 20 Years Ago
Daniel Essin - 20 Years Ago
                         Not a problem :)
StrataFrame Team - 20 Years Ago
                             When you configure your tables with a guid primary key, are you using...
StrataFrame Team - 20 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search