System.Data.Common.DbDataAdapter.GetConnection4 C# (CSharp) Method

GetConnection4() private static method

private static GetConnection4 ( DbDataAdapter adapter, IDbCommand command, StatementType statementType, bool isCommandFromRowUpdating ) : IDbConnection
adapter DbDataAdapter
command IDbCommand
statementType StatementType
isCommandFromRowUpdating bool
return IDbConnection
        private static IDbConnection GetConnection4(DbDataAdapter adapter, IDbCommand command, StatementType statementType, bool isCommandFromRowUpdating)
        {
            Debug.Assert(null != command, "GetConnection4: null command");
            IDbConnection connection = command.Connection;
            if (null == connection)
            {
                throw ADP.UpdateConnectionRequired(statementType, isCommandFromRowUpdating);
            }
            return connection;
        }
        private static DataRowVersion GetParameterSourceVersion(StatementType statementType, IDataParameter parameter)