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