Example #1
0
 public SqlStream(ISqlStreamConnection connection, SqlStreamBehavior behavior)
 {
     this.connection          = connection;
     this.command             = new SqlCommand();
     this.command.CommandType = CommandType.StoredProcedure;
     this.behavior            = behavior;
     buffer = new List <T>(bufferSize);
 }
Example #2
0
 public SqlStream(ISqlStreamConnection connection, SqlStreamBehavior behavior, int bufferSize)
     : this(connection, behavior)
 {
     buffer = new List <T>(bufferSize);
 }