Articles → Light Switch 2011 → Creation Of Data Entity In Light Switch 2011
Creation Of Data Entity In Light Switch 2011
Software Requirements
- Visual studio 2010 ultimate(or premium)
- Visual studio 2010 service pack 1
- Silverlight 5 exe which you will get from http://go.microsoft.com/fwlink/?LinkID=198365
- Light switch 2011 which you can download from http://www.microsoft.com/visualstudio/en-us/lightswitch
Implementation
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Section | Name | Multiplicity |
---|
From | Department | One |
To | Employee | Many |
Section | Name | Multiplicity |
---|
From | Department | Zero or one |
To | Employee | Many |
Department | On Delete Behavior | Description |
---|
Department | Restricted | Records in Department cannot be deleted if there is any associated record present in Employee table |
Employee | NA | |
Department | On Delete Behavior | Description |
---|
Department | Cascade Delete | If any record in Department is deleted then delete all the associated records from the Employee table also. |
Employee | NA | |
Department | On Delete Behavior | Description |
---|
Department | Disassociate | If the records in Department table deleted then the records in Employee table will remain intact. |
Employee | NA | |
Click to Enlarge
Error