private void MakeChange(SyncSession session, IPropertySetter setter, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj) { setter.SetValue(session, mapping, srcValues, targetObj); }
private bool HasPropertyChange(SyncSession session, IPropertyComparer comparer, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj) { return(comparer.AreEqual(session, mapping, srcValues, targetObj) == false); }
public void SetValue(SyncSession session, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj) { string srcValue = srcValues[mapping.SourceProperty] as string ?? string.Empty; targetObj.Properties[mapping.TargetProperty].StringValue = srcValue; }