Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public Node EditNode(Node toEdit, int userId){ using(new TransactionScope()) { //Edit Node in NodeContext like you would anyway without repository NodeContext.NodeHistories.Add(new NodeHistory(){//initialise NodeHistory stuff here) NodeContext.SaveChagnes(); } } }