JsModelAttribute

You can add this Attribute to the Class you want ViewModels of.

You have 3 Properties:
  • JsNamespace: If you need a special JsNamespace. Be aware, that you can define a default JsNamespace with the JsModelConfig.
  • Url: Define the Server-Url. This is necessary so the model knows where the responsible implementation of GET/POST/PUT/DELETE is
  • Name: If your (Domain-) Class needs a special name

Last edited Jul 3, 2013 at 4:37 PM by _RichardFrick, version 1

Comments

No comments yet.