how use Transction for One to Many Relationship

2 posts, 0 answers
  1. kunal
    kunal avatar
    11 posts
    Member since:
    Jan 2009

    Posted 10 Aug 2010 Link to this post

    Hi guys,


    I have searched for a solution to this but have not yet seen anything that works.
    i have two table one is "Artist" table and other is "ArtistRole"  table. Artist table Primary key will be Foreign key in ArtistRole table.
    ArtistRole
    table contain multiple record For one Artist Table record.it's One to Many relationship.

    how i can used transaction in my code????????????????????

    Please help me ............................................
  2. Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 10 Aug 2010 Link to this post

    Hi kunal,

    We would like to know in what scenario you intent to use transactions. Could you please provide us with more details? Actually transactions are a completely separate aspect of the product which is not related to any kind of relationships. You should use them whenever you are doing CRUD operations. If you are using a Domain Model, you do not even need to take care of the transactions as they are internally handled.

    You could find useful our Fetch Optimization API if you want to optimize the retrieval of the objects within your application. Useful information regarding the API can be found here and here.
    We are looking forward to hearing from you.


    Kind regards,
    Damyan Bogoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top