Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Entity framework attach

using (var context = new MyEntities())
{
    context.Attach(client);
    client.Name = "Bob";
    context.SaveChanges();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Entity #framework #attach
ADD COMMENT
Topic
Name
7+5 =