CodeSmith Community
Your Code. Your Way. Faster!

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Self-referencing FK insert?

    I have a table where I want to FK to the table's Primary key (so as to create parent/child relationships among the rows). The problem I have is getting the PK value on insert. I do an DataRepository .MyObjectProvider. Insert(TransactionManager, o_myobject) but obviously get an error when the FK value...
    Posted to Community Support (Forum) by MeasuredSpace on 09-21-2007
    Filed under: .netTiers, ForeignKeys, primary key
Page 1 of 1 (1 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems