My code looks like:
Entity e = new Entity();
e.name = "...";
e.blah = 234;
MyDb.UpdateEntity(e);
public static void UpdateEntity(Entity e)
{
using(MyDatacontext dc = new MyDataContext())
{
dc. ?????????
}
}
So what do I do here to update the entity?
note: i just called it entity here, its something else in my project.