public UpdatableLog(UpdatableOperation operation, Entity target, Entity resource, string propertyName, object propertyValue) { Operation = operation; Target = target; Resource = resource; PropertyName = propertyName; PropertyValue = propertyValue; }
private void AddToLog(UpdatableOperation operation, Entity target, Entity resource, string propertyName, object propertyValue) { Log.Add(new UpdatableLog(operation, target, resource, propertyName, propertyValue)); }