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

Creating a LightSwitch Business Type Extension

(0 votes)
0 comments   /   posted by Silverlight Show on Feb 06, 2012
Tags:   lightswitch , michael-washington

Read original post by Michael Washington at LightSwitch Help Website

Visual Studio LightSwitch allows you to create Business Type extensions. A Business Type “enables you to present data in a way that is most appropriate for your application without changing the data type in which the data is stored in the underlying database”. In this article we will create a Business Type for a Customer Code. The underlying type will be a String, but the Business Type will be a custom type that requires the first character to not be a number and for it to be at least 10 characters long. It will also have its own custom control for display and editing.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter