Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RowUpdatingEventArgs()

System.Data.Common.RowUpdatingEventArgs.RowUpdatingEventArgs ( DataRow dataRow,
IDbCommand? command,
StatementType statementType,
DataTableMapping tableMapping )
inline

Definition at line 76 of file RowUpdatingEventArgs.cs.

77 {
78 ADP.CheckArgumentNull(dataRow, "dataRow");
79 ADP.CheckArgumentNull(tableMapping, "tableMapping");
80 switch (statementType)
81 {
82 case StatementType.Batch:
83 throw ADP.NotSupportedStatementType(statementType, "RowUpdatingEventArgs");
84 default:
85 throw ADP.InvalidStatementType(statementType);
86 case StatementType.Select:
87 case StatementType.Insert:
88 case StatementType.Update:
89 case StatementType.Delete:
90 _dataRow = dataRow;
91 _command = command;
92 _statementType = statementType;
93 _tableMapping = tableMapping;
94 break;
95 }
96 }

References System.Data.Common.RowUpdatingEventArgs._command, System.Data.Common.RowUpdatingEventArgs._dataRow, System.Data.Common.RowUpdatingEventArgs._statementType, System.Data.Common.RowUpdatingEventArgs._tableMapping, System.Data.Common.ADP.CheckArgumentNull(), System.Data.Common.ADP.InvalidStatementType(), and System.Data.Common.ADP.NotSupportedStatementType().