Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
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(); } } }