We are evaluating XPO to use in migrating our existing multi-tier win32 application to .NET.
Is it possible to use XPO with an existing database with composite primary keys? Our database has a table structure as follows:
SalesDocuments
DocumentType: integer (Primary Key)
DocumentNumber: integer (Primary Key)
CustomerCode: string
DocumentDate: datetime
Amount: decimal
LineItems
DocumentType: integer (Primary Key)
DocumentNumber: integer (Primary Key)
Sequence: integer (Primary Key)
ItemCode: string
Qty: decimal
Can someone suggest how to define the mapping schema and XPObject definitions for the above structure?
Thanks and Regards,
Surya