public IPropertyIdMap Id <TId>(Expression <Func <T, TId> > expression) { string propertyName = PropertyMapTranslator.Translate(expression); PrimaryKeyName = propertyName; CurrentProperty = Type.GetProperty(propertyName); return(this); }
public IPropertyMap Map <E>(Expression <Func <Q, E> > expression) { string propertyName = PropertyMapTranslator.Translate(expression); CurrentProperty = Type.GetProperty(propertyName); return(this); }