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

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

            _session = session;
        }
Ejemplo n.º 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);
 }