///<summary> /// Creates the <see cref="IRelationshipDef"/> from the PropertyWrapper. ///</summary> ///<param name="propWrapper"></param> ///<returns></returns> public static IRelationshipDef MapOneToOne(this PropertyWrapper propWrapper) { if (propWrapper == null) { return(null); } OneToOneAutoMapper autoMapper = new OneToOneAutoMapper(propWrapper); return(autoMapper.MapOneToOne()); }
///<summary> /// Creates the <see cref="IRelationshipDef"/> from the PropertyWrapper. ///</summary> ///<param name="propWrapper"></param> ///<returns></returns> public static IRelationshipDef MapOneToOne(this PropertyWrapper propWrapper) { if (propWrapper == null) return null; OneToOneAutoMapper autoMapper = new OneToOneAutoMapper(propWrapper); return autoMapper.MapOneToOne(); }