(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

LightSwitch: Using Different Edit Screens Based on Record Types (Table Inheritance)

(0 votes)
0 comments   /   posted by Silverlight Show on Jan 24, 2012
Tags:   lightswitch , beth-massi

Read original post at Beth Massi's Blog

I had a reader ask a question this week on how to use Visual Studio LightSwitch to open different Edit Detail screens based on the “type” of record. This is a very common thing to do especially for data models that use table inheritance (or sub-tables). For instance say we are building an application for a pet store to manage their inventory of animals. We need to collect shared properties of all the animals in an Animal table but we also want to set up table inheritance to Fish, Cat and Dog tables which collect specific properties of those types of animals. When a user selects an animal on a search screen, we need to display a screen that lets them work with the correct data from the specific table. [...]


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter