Entity framework attach

61

Entity framework attach -

using (var context = new MyEntities())
{
    context.Attach(client);
    client.Name = "Bob";
    context.SaveChanges();
}

Comments

Submit
0 Comments