System.Data.Common.DbDataAdapter.GetConnection4 C# (CSharp) 메소드

GetConnection4() 개인적인 정적인 메소드

private static GetConnection4 ( DbDataAdapter adapter, IDbCommand command, StatementType statementType, bool isCommandFromRowUpdating ) : IDbConnection
adapter DbDataAdapter
command IDbCommand
statementType StatementType
isCommandFromRowUpdating bool
리턴 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)