Example #1
0
 internal SqlFetch(SqlFetchOption option, SqlExpression rowCount, SqlCursor cursor,
                   params ISqlCursorFetchTarget[] targets)
     : base(SqlNodeType.Fetch)
 {
     this.option = option;
     if (targets != null)
     {
         for (int i = 0, l = targets.Length; i < l; i++)
         {
             this.targets.Add(targets[i]);
         }
     }
     this.cursor   = cursor;
     this.rowCount = rowCount;
 }
Example #2
0
 public SqlOpenCursor(SqlCursor cursor) : base(SqlNodeType.OpenCursor)
 {
     this.cursor = cursor;
 }
 internal SqlDeclareCursor(SqlCursor cursor)
     : base(SqlNodeType.DeclareCursor)
 {
     this.cursor = cursor;
 }
 public SqlCloseCursor(SqlCursor cursor)
     : base(SqlNodeType.CloseCursor)
 {
     this.cursor = cursor;
 }