Can anyone give me a link to a complete example of a Named Update?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know where to look for a named update, however it’s pretty straightforward:
voidand accept on input an instance of your entity (says it’s named MyEntity)and, eventually, other parameters (primitives like int, string etc)[Update(UsingCustomMethod = true)]DomainContext.SubmitChangesYour custom update method will be called as part of your SubmitChanges call server side