/// <summary> /// Map this property to a Relationship definition based on its Defintiion /// </summary> /// <param name="propertyWrapper"></param> /// <returns></returns> public static IRelationshipDef MapOneToMany(this PropertyWrapper propertyWrapper) { if (propertyWrapper == null) return null; var autoMapper = new OneToManyAutoMapper(propertyWrapper); return autoMapper.MapOneToMany(); }
/// <summary> /// Map this property to a Relationship definition based on its Defintiion /// </summary> /// <param name="propertyWrapper"></param> /// <returns></returns> public static IRelationshipDef MapOneToMany(this PropertyWrapper propertyWrapper) { if (propertyWrapper == null) { return(null); } var autoMapper = new OneToManyAutoMapper(propertyWrapper); return(autoMapper.MapOneToMany()); }