locked
Designating unique field/fields

    Question

  • I haven't seen a way to designate a field as required to be unique, e.g. "CompanyName", or a set of fields as unique, e.g. "User"-"Company".

    I can code it using validation code, but that's too much code compared to toggling a flag or attribute on a field :)

    Thursday, August 19, 2010 11:55 PM

Answers

  • There is no built-in functionality for this in the Beta1 version of LightSwitch. It is on the list of things that we are considering for the final release of the product, however.

    For suggestions like this, please feel free to use the Microsoft Connect site (http://connect.microsoft.com/visualstudio) - it has a nifty voting function where you and other users can indicate if the feature is important or not to you.

    Best regards,
    Johan Stenberg


    Microsoft Visual Studio
    Friday, August 20, 2010 2:49 AM