/// <summary> /// Automatically map the RelDef for this propWrapper /// </summary> /// <param name="propWrapper"></param> /// <returns></returns> public static IRelationshipDef MapManyToOne(this PropertyWrapper propWrapper) { if (propWrapper == null) return null; ManyToOneAutoMapper autoMapper = new ManyToOneAutoMapper(propWrapper); return autoMapper.MapManyToOne(); }
/// <summary> /// Automatically map the RelDef for this propWrapper /// </summary> /// <param name="propWrapper"></param> /// <returns></returns> public static IRelationshipDef MapManyToOne(this PropertyWrapper propWrapper) { if (propWrapper == null) { return(null); } ManyToOneAutoMapper autoMapper = new ManyToOneAutoMapper(propWrapper); return(autoMapper.MapManyToOne()); }