Habanero.Smooth.ManyToOneAutoMapperExtensions.MapManyToOne C# (CSharp) Method

MapManyToOne() public static method

Automatically map the RelDef for this propertyInfo
public static MapManyToOne ( this propInfo ) : IRelationshipDef
propInfo this
return IRelationshipDef
        public static IRelationshipDef MapManyToOne(this PropertyInfo propInfo)
        {
            if (propInfo == null) return null;

            ManyToOneAutoMapper autoMapper = new ManyToOneAutoMapper(propInfo);
            return autoMapper.MapManyToOne();
        }
ManyToOneAutoMapperExtensions