public Table <T> WithPrimaryKey(Expression <Func <T, int> > key, bool isIdentity = false) { var member = (MemberExpression)key.Body; _keyColumn = Columns.Single(c => c.Name == member.Member.Name); _keyColumn.IsIdentity = isIdentity; return(this); }
private void Customize(ColumnSpec column, bool nullable) { column.IsNullable = nullable; }