Articles → Light Switch 2011 → Creating Computed Columns In Light Switch 2011
Creating Computed Columns In Light Switch 2011
Software Requirement
- Visual studio 2010 is installed on your machine.
- Visual Studio 2010 service pack 1 is installed on your machine.
- Microsoft Visual Studio Light switch 2011 is installed on your machine.
Prerequisite Knowledge
- What is lightswitch?
- What are screens and entities in lightswitch?
- How to create an entity in lightswitch?
- How to create a screen in lightswitch?
What Are Computed Columns?
Creation Of Person Entity
Click to Enlarge
Add Computed Column In Person Entity
Click to Enlarge
Click to Enlarge
Add Logic For Computed Column
- Select the column by single click on the column (IsEligibleToVote in this case).
- On the property window click on the Edit Method link.
- Code screen comes.
Click to Enlarge
Click to Enlarge
Creation Of Editable Grid Screen
Click to Enlarge
Create A New Record
Click to Enlarge
Click to Enlarge
Output
Click to Enlarge