locked
lightswitch html5 create a new entity instance RRS feed

  • Question

  •  I am confused by follow expression, please tel me the difference.

    1. var new_ customer =  new myapp.Customer;

    2. var new_ customer =  new myapp.Customer();

    3.var new_ customer =   myapp.activeDataWorkspace.ApplicationData.Customers.addNew();


    • Edited by VBLEARNNER Tuesday, April 7, 2015 1:33 AM
    Tuesday, April 7, 2015 1:33 AM

Answers