Example #1
0
        public IEntityMappable <T> Property <TProperty>(Expression <Func <T, TProperty> > property, string columnName)
        {
            var map = new ValuePropertyMap <T, TProperty>(property, columnName);

            return(Map(map));
        }
Example #2
0
        public IEntityMappable <T> Property <TProperty>(Expression <Func <T, TProperty> > property)
        {
            var map = new ValuePropertyMap <T, TProperty>(property, null);

            return(Map(map));
        }