public void Operation_CanBeUpdated() { var operation = new UpdateOperation("test", "1234"); Assert.False(operation.IsUpdated); operation.Update(); Assert.Equal(2, operation.Version); Assert.True(operation.IsUpdated); }
public static void Update(IEntity obj, String propertyName) { UpdateOperation.Update(obj, new String[] { propertyName }); }
public static void Update(IEntity obj, String[] arrPropertyName) { UpdateOperation.Update(obj, arrPropertyName); }
public static Result Update(IEntity obj) { return(UpdateOperation.Update(obj)); }