Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <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);
 }