Ejemplo n.º 1
0
 /// <summary>
 /// Ignores a property for the detached Update/Delete process.
 /// </summary>
 /// <param name="property">The property to ignore.</param>
 public static void DetachedIgnore(this PropertyBase property)
 {
     property.SetAnnotation(typeof(IgnoredAtrribute).FullName, true, ConfigurationSource.DataAnnotation);
 }