public CrmDbCommand(CrmDbConnection connection, IOperationExecutor crmCommandExecutor, ICrmOperationProvider organisationCommandProvider) { if (crmCommandExecutor == null) { throw new ArgumentNullException("crmCommandExecutor"); } if (organisationCommandProvider == null) { throw new ArgumentNullException("organisationCommandProvider"); } _DbConnection = connection; _CrmCommandExecutor = crmCommandExecutor; _OrganisationCommandProvider = organisationCommandProvider; _CommandType = CommandType.Text; _ParameterCollection = new CrmParameterCollection(); }
public CrmDbCommand(CrmDbConnection connection, IOperationExecutor crmCommandExecutor, ICrmOperationProvider organisationCommandProvider) { if (crmCommandExecutor == null) { throw new ArgumentNullException("crmCommandExecutor"); } if (organisationCommandProvider == null) { throw new ArgumentNullException("organisationCommandProvider"); } _DbConnection = connection; _CrmCommandExecutor = crmCommandExecutor; _OrganisationCommandProvider = organisationCommandProvider; _CommandType = CommandType.Text; _ParameterCollection = new CrmParameterCollection(); }