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

◆ Namespace

string System.Data.DataColumn.Namespace
getset

Definition at line 761 of file DataColumn.cs.

762 {
763 get
764 {
765 if (_columnUri == null)
766 {
767 if (Table != null && _columnMapping != MappingType.Attribute)
768 {
769 return Table.Namespace;
770 }
771 return string.Empty;
772 }
773 return _columnUri;
774 }
776 set
777 {
778 DataCommonEventSource.Log.Trace("<ds.DataColumn.set_Namespace|API> {0}, '{1}'", ObjectID, value);
779 if (_columnUri != value)
780 {
781 if (_columnMapping != MappingType.SimpleContent)
782 {
783 RaisePropertyChanging("Namespace");
785 }
786 else if (value != Namespace)
787 {
788 throw ExceptionBuilder.CannotChangeNamespace(ColumnName);
789 }
790 }
791 }
792 }
void RaisePropertyChanging(string name)
MappingType _columnMapping
Definition DataColumn.cs:54

Referenced by System.Data.DataTableReader.GetSchemaTableFromDataTable(), and System.Xml.DataPointer.RealFoliate().