Example #1
0
        protected internal SqlRunner(DbConnection connection, DbBehaviors <TCommand, TParameter> behaviors)
        {
            this.connection = connection;
            this.behaviors  = behaviors;

            this.factory = new DbCommandFactory <TCommand, TParameter>(behaviors);
        }
Example #2
0
 public DbCommandFactory(DbBehaviors <TCommand, TParameter> behaviors)
 {
     this.behaviors = behaviors;
 }