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

◆ UpdateFromDataTable()

int System.Data.Common.DbDataAdapter.UpdateFromDataTable ( DataTable dataTable,
DataTableMapping tableMapping )
inlineprivate

Definition at line 1298 of file DbDataAdapter.cs.

1299 {
1300 int result = 0;
1301 DataRow[] array = ADP.SelectAdapterRows(dataTable, sorted: false);
1302 if (array != null && array.Length != 0)
1303 {
1304 result = Update(array, tableMapping);
1305 }
1306 return result;
1307 }

References System.array, System.Data.Common.ADP.SelectAdapterRows(), and System.Data.Update.

Referenced by System.Data.Common.DbDataAdapter.Update(), and System.Data.Common.DbDataAdapter.Update().