public PetaPocoMap <T> PrimaryKey(Expression <Func <T, object> > column, bool autoIncrement) { var propertyInfo = PropertyHelper <T> .GetProperty(column); return(PrimaryKey(propertyInfo.Name, autoIncrement)); }
public PetaPocoMap <T> PrimaryKey(Expression <Func <T, object> > column, string sequenceName) { var propertyInfo = PropertyHelper <T> .GetProperty(column); return(PrimaryKey(propertyInfo.Name, sequenceName)); }