Пример #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);
 }
Пример #2
0
 public SqlStream(ISqlStreamConnection connection, SqlStreamBehavior behavior, int bufferSize)
     : this(connection, behavior)
 {
     buffer = new List <T>(bufferSize);
 }
Пример #3
0
 public SqlStream(ISqlStreamConnection connection)
     : this(connection, SqlStreamBehavior.None)
 {
 }