Hello Alexander Sun,
1. Yes, you set up the database correctly.
2. The classes are generated correctly. The CashSale field generated within the CashSale_Item class is a reference to the parent class from. You could see the generated IList of CashSale_Item in the parent class. This is the right way for creating a one-to-many mapping.
I recommend you reading the following help article “One-to-many Mapping” for a reference.
Hope that helps.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.