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

◆ DataSet

DataSet? System.Data.DataViewManager.DataSet
getset

Definition at line 28 of file DataViewManager.cs.

29 {
30 get
31 {
32 return _dataSet;
33 }
35 set
36 {
37 if (value == null)
38 {
39 throw ExceptionBuilder.SetFailed("DataSet to null");
40 }
41 if (_locked)
42 {
43 throw ExceptionBuilder.SetDataSetFailed();
44 }
45 if (_dataSet != null)
46 {
47 if (_nViews > 0)
48 {
49 throw ExceptionBuilder.CanNotSetDataSet();
50 }
53 }
57 _dataViewSettingsCollection = new DataViewSettingCollection(this);
58 _item.Reset();
59 }
60 }
DataViewSettingCollection _dataViewSettingsCollection
virtual void RelationCollectionChanged(object? sender, CollectionChangeEventArgs e)
virtual void TableCollectionChanged(object? sender, CollectionChangeEventArgs e)
readonly DataViewManagerListItemTypeDescriptor _item

Referenced by System.Data.DataViewSettingCollection.DataViewSettingsEnumerator.DataViewSettingsEnumerator(), System.Data.DataViewManager.GetItemProperties(), System.Data.DataViewManager.GetListName(), System.Data.DataViewManagerListItemTypeDescriptor.GetPropertiesInternal(), System.Data.DataViewSettingCollection.GetTable(), and System.Data.DataViewSettingCollection.GetTable().