Primary Key Value?


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)Advanced StrataFrame User (572 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
All my years of database programming, I had worked directly with RDBMS. This new switch over to .Net and dealing with ROM seems to require new strategy in some areas.



I had always maintained the primary key value, using an Integer field and maintained the incremental myself regardless which database engine I was using. This way I could switch DB and things would be the same.



My question is, to have unique Primary keys, can I still use the same techniques as I have before or are there other approaches that would be better when working in Object Relational Mapping environment? Perhaps I've missed it in docs, is there a pattern in SF that I should follow to maintain a safe position, especially when linking to other tables?



Thank you in advance!


..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search