/// <summary> /// Adds an auto-update value annotation to the property. /// </summary> /// <param name="property"></param> /// <param name="provider"></param> /// <returns></returns> public static PropertyBuilder HasAutoUpdate( this PropertyBuilder property, IAutoUpdateValueProvider provider ) { property.Metadata.SetAnnotation(AutoUpdateAnnotation, provider); return(property); }
/// <summary> /// Adds an auto-update value annotation to the property. /// </summary> /// <param name="property"></param> /// <param name="provider"></param> /// <returns></returns> public static IMutableProperty HasAutoUpdate( this IMutableProperty property, IAutoUpdateValueProvider provider ) { property.SetAnnotation(AutoUpdateAnnotation, provider); return(property); }