private ColumnNode NewColumn(DbColumn dbColumn) { var res = new ColumnNode(); res.Table = this; res.Property = dbColumn.Property; res.ColumnName = dbColumn.Name; res.DbColumn = dbColumn; return(res); }
private ColumnNode NewColumn(IRdbColumnInfo dbColumn) { var res = new ColumnNode(); res.Table = this; res.Property = dbColumn.Property; res.ColumnName = dbColumn.Name; res.DbColumn = dbColumn; res.DbType = dbColumn.DbType; res.HasIndex = dbColumn.HasIndex; return(res); }
IColumnNode ISubQuery.Column(IColumnNode rawProperty) { var raw = rawProperty as ColumnNode; var property = new ColumnNode { ColumnName = raw.ColumnName, Property = raw.Property, Table = this, }; return(property); }
private ColumnNode NewColumn(IPersistanceColumnInfo dbColumn) { var res = new ColumnNode(); res.Table = this; res.Property = dbColumn.Property; res.ColumnName = dbColumn.Name; res.DbColumn = dbColumn; return res; }
IColumnNode ISubQuery.Column(IColumnNode rawProperty, string alias) { var raw = rawProperty as ColumnNode; var property = new ColumnNode { ColumnName = raw.ColumnName, Property = raw.Property, Table = this, Alias = alias }; return property; }
IColumnNode ISubQuery.Column(IColumnNode rawProperty) { var raw = rawProperty as ColumnNode; var property = new ColumnNode { ColumnName = raw.ColumnName, Property = raw.Property, Table = this, }; return property; }