private void ConfigureListCascading(
     IModelInspector modelInspector, PropertyPath member,
     IListPropertiesMapper propertyCustomizer)
 {
     propertyCustomizer.Cascade(Cascade.All |
                                Cascade.DeleteOrphans);
 }
示例#2
0
 public static void MapList(IModelInspector modelInspector, PropertyPath member, IListPropertiesMapper map)
 {
 }
 public void InvokeCustomizers(PropertyPath member, IListPropertiesMapper mapper)
 {
     InvokeCustomizers(collectionCustomizers, member, mapper);
     InvokeCustomizers(listCustomizers, member, mapper);
 }
 protected virtual void OnBeforeMapList(IModelInspector modelInspector, PropertyPath member, IListPropertiesMapper propertyCustomizer)
 {
 }
示例#5
0
 protected virtual void ApplyListConventions(IListPropertiesMapper mapper, PropertyPath member)
 {
     mapper.Inverse(true);
 }
示例#6
0
 protected virtual void OnAfterMapList(IModelInspector modelInspector, PropertyPath member, IListPropertiesMapper propertyCustomizer)
 {
 }