Exercise - Create new Entity
- Find the Models folder in the NorthwindBase.
- Right click on the Models folder and add new Item, select the Entity template, name the new entity EmployeeCars.
- Set the DataSources to be Northwind, (copy the DataSources definition from one of the excising entities);
- Add The following members :
- NumberColum for the EmployeeID format 10.
- NumberColum for the CarID format 6.
- TextColum for the CarManufacture format 30.
- TextColum for the CarName format 30.
- NumberColum for the CarYear format 4.
- NumberColum for the CarKM format 6.2C.
- Set the PrimaryKey to be the EmployeeID and CarID
- Build and go to RunTime.
- Use the developer tools to create the new Entity.
- Use F4 to insert new records:
- Add 2 Toyotas for employee 1.
- Add 2 BMWs for employee number 2.
- add 1 Lamborghini for employee number 3.
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com