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

◆ EndLoadData()

void System.Data.DataTable.EndLoadData ( )
inlineinherited

Definition at line 4083 of file DataTable.cs.

4084 {
4085 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTable.EndLoadData|API> {0}", ObjectID);
4086 try
4087 {
4088 if (_inDataLoad)
4089 {
4090 if (_loadIndex != null)
4091 {
4093 }
4094 if (_loadIndexwithOriginalAdded != null)
4095 {
4097 }
4098 if (_loadIndexwithCurrentDeleted != null)
4099 {
4101 }
4102 _loadIndex = null;
4105 _inDataLoad = false;
4107 if (DataSet != null)
4108 {
4110 }
4111 else
4112 {
4113 EnforceConstraints = true;
4114 }
4115 }
4116 }
4117 finally
4118 {
4119 DataCommonEventSource.Log.ExitScope(scopeId);
4120 }
4121 }
void RestoreIndexEvents(bool forceReset)
Index _loadIndexwithOriginalAdded
Definition DataTable.cs:132
Index _loadIndexwithCurrentDeleted
Definition DataTable.cs:134
int RemoveRef()
Definition Index.cs:215

References System.Data.DataTable._inDataLoad, System.Data.DataTable._loadIndex, System.Data.DataTable._loadIndexwithCurrentDeleted, System.Data.DataTable._loadIndexwithOriginalAdded, System.Data.DataTable._savedEnforceConstraints, System.Runtime.Serialization.Dictionary, System.Data.DataTable.EnforceConstraints, System.Data.DataCommonEventSource.Log, System.Data.DataTable.ObjectID, System.Data.Index.RemoveRef(), and System.Data.DataTable.RestoreIndexEvents().

Referenced by System.Data.Common.DataAdapter.FillFromReader().