Exemple #1
0
        public void Attach(IDataSession session)
        {
            if (_innerCommand == null || _parameters == null)
            {
                session.Initialize(this);
            }

            _session = session;
        }
        public void Attach(IDataSession session)
        {
            if (_innerCommand == null || _parameters == null)
            {
                session.Initialize(this);
            }

            _session = session;
        }
Exemple #3
0
 public StoredProcedureCommand(string commandText, IDataSession session)
     : this(commandText)
 {
     session.Initialize(this);
     Attach(session);
 }
 public StoredProcedureCommand(string commandText, IDataSession session)
     : this(commandText)
 {
     session.Initialize(this);
     Attach(session);
 }