示例#1
0
 public MyCatCommand(string commandText, MyCatConnection connection, MyCatTransaction transaction)
 {
     CommandText           = commandText;
     DbConnection          = connection;
     DbTransaction         = transaction;
     m_parameterCollection = new MyCatParameterCollection();
     CommandType           = CommandType.Text;
 }
示例#2
0
 public MyCatStatementPreparer(string commandText, MyCatParameterCollection parameters, StatementPreparerOptions options)
 {
     m_commandText = commandText;
     m_parameters  = parameters;
     m_options     = options;
 }