System.Data.Common.RowUpdatedEventArgs.RowUpdatedEventArgs C# (CSharp) Метод

RowUpdatedEventArgs() публичный Метод

public RowUpdatedEventArgs ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping )
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping DataTableMapping
        public RowUpdatedEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
        {
            switch (statementType)
            {
                case StatementType.Select:
                case StatementType.Insert:
                case StatementType.Update:
                case StatementType.Delete:
                case StatementType.Batch:
                    break;
                default:
                    throw ADP.InvalidStatementType(statementType);
            }
            _dataRow = dataRow;
            _command = command;
            _statementType = statementType;
            _tableMapping = tableMapping;
        }