Click here to Skip to main content
15,616,663 members

Articles by Daniel Lo Nigro (Tip/Tricks: 2)

Tip/Tricks: 2

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.95

Programming Languages
C#
1 Nov 2011   Updated: 1 Nov 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 8,962     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
As far as I know, the "UpdateModel" method is designed to do this. Something like this should work, but I haven't tested it:public ActionResult Edit(Entity entity){ var entityInDbSet = _context.Set.SingleOrDefault(x => x.Id == entity.Id); UpdateModel(entityInDbSet); ...
Web Development
ASP.NET
22 May 2012   Updated: 22 May 2012   Rating: 4.90/5    Votes: 11   Popularity: 4.90
Licence: CPOL    Views: 59,952     Bookmarked: 24   Downloaded: 0
Please Sign up or sign in to vote.
Custom strongly typed HtmlHelpers in ASP.NET MVC

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Web Developer Facebook
United States United States
I'm a web developer specialising in ASP.NET MVC, PHP and JavaScript. I've got several years of web development experience and am always trying new technologies.