How to Programmatically Control LightSwitch UI (Andy Kung)

Note: This article has been updated for Beta 2 on 3/17/2011 LightSwitch, by default, intelligently generates UI based on the shape of an entity. For example, adding an Employee entity to a screen might generate a TextBox for Employee.Name, a DatePicker for Employee.Birthdate, an Auto-Complete Box for Employee.Gender, etc. Some screens, however, require UI that… Read more

How to Create a Many-to-Many Relationship (Andy Kung)

Note: This article has been updated for Beta 2 on 3/17/2011 Many business applications require many-to-many relationships. For example, an author can write many books, and a book can be written by many authors. To model this relationship in LightSwitch, you need to create a mapping table for the 2 objects (e.g. AuthorToBook mapping table… Read more