Exemplo n.º 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));
        }
Exemplo n.º 2
0
        public IEntityMappable <T> Property <TProperty>(Expression <Func <T, TProperty> > property)
        {
            var map = new ValuePropertyMap <T, TProperty>(property, null);

            return(Map(map));
        }