asp.net mvc - Is there a LINQ Equivalent for ARDatabind in ASP MVC.net? -


Is there a feature that someone can put parameters for such an action that LINQ has to load a particular unit and only The database which values ​​La Lai (see)

You use TryUpdateModel and UpdateModel methods to update Forms with model object value can be:

  Public Action Result Update (IIT, Form Collection Form) {ITIITIM = _ItemReposit} Ory.Get (id); TryUpdateModel (myItem, "item", form); // processing}  

Is that the thing after which you were?

EDIT: Note, I have a problem with this work while using the entity framework. You have strict rectangular integrity, but the methods around it only to update the fields posted in the form, Or by specifying to write their own model updater.


Comments