Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Manage multi-table insert using OData Service

$
0
0

Hi all,

 

I would like to understand how can I manage multi-table inserts using odata service.

 

Problem :

 

For example I have two tables :

1. Customer (Customer_ID as primary key)

2. Orders (Order_ID as primary key and Customer_ID as foreign key)

 

Customer Table  has one to many relationship Order Table.

 

I would like to create OData Service where I can manage insert/update/delete transactions.

 

I have little idea that I can use "Associations" for joining to tables but I have not sure about following points:

1. Is "Associations" support CRUD operations?

2. How can I manage auto-generated primary key creations for Customer_ID and Order_ID?

 

Please advice.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>