This is a migrated thread and some comments may be shown as answers.

how use Transction for One to Many Relationship

1 Answer 19 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kunal
Top achievements
Rank 1
kunal asked on 10 Aug 2010, 11:27 AM
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 ............................................

1 Answer, 1 is accepted

Sort by
0
Damyan Bogoev
Telerik team
answered on 10 Aug 2010, 02:59 PM
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
Tags
Development (API, general questions)
Asked by
kunal
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or