internal RenamedColumn(IUnnamedColumnDefinion Base, LocalIdentifier Alias)
 {
     if (Alias == null) throw new ArgumentNullException("Name", "Subquery must have a name.");
     baseColumn = Base;
     AS = Alias;
     NamedColumnDefinion = new Builder(Compile);
 }
 public QualifiedIdentifier(string schema, string name)
 {
     if (string.IsNullOrWhiteSpace(name)) throw new ArgumentNullException("name", "Qualified name should not be empty.");
     Identifier = name;
     Schema = schema;
     SourceDefinion = new Builder(Compile);
 }
Beispiel #3
0
 internal SubQuery(SelectQuery Base, LocalIdentifier Alias)
 {
     if (Alias == null) throw new ArgumentNullException("Name", "Subquery must have a name.");
     baseQuery = Base;
     AS = Alias;
     SourceDefinion = new Builder(Compile);
 }
 private Star()
 {
     ColumnDefinion = new Builder(Compile);
 }
 public LocalIdentifier(string name)
 {
     if (string.IsNullOrWhiteSpace(name)) throw new ArgumentNullException("name", "Local name should not be empty.");
     Identifier = name;
     ColumnDefinion = new Builder(Compile);
 }
Beispiel #6
0
 internal Constant(object Value)
 {
     this.Value = Value;
     ColumnDefinion = new Builder(Compile);
 }
Beispiel #7
0
 internal Cast(IUnnamedColumnDefinion Arg, Type TargetType)
 {
     Argument = Arg;
     this.TargetType = TargetType;
     ColumnDefinion = new Builder(Compile);
 }
Beispiel #8
0
 public Values(IEnumerable<object[]> rows)
 {
     InsertSourceDefinion = new Builder(Compile);
     data = rows.Select(row=>row.Select(cell => new Constant(cell)));
 }
 internal FunctionCall(Function Func, IUnnamedColumnDefinion[] Args)
 {
     Function = Func;
     Arguments = Args;
     ColumnDefinion = new Builder(Compile);
 }