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); }
public SqlStream(ISqlStreamConnection connection, SqlStreamBehavior behavior, int bufferSize) : this(connection, behavior) { buffer = new List <T>(bufferSize); }
public SqlStream(ISqlStreamConnection connection) : this(connection, SqlStreamBehavior.None) { }