Definition at line 955 of file DataColumn.cs.
956 {
957 get
958 {
960 }
961 set
962 {
963 DataCommonEventSource.Log.Trace(
"<ds.DataColumn.set_ColumnMapping|API> {0}, {1}",
ObjectID,
value);
965 {
966 return;
967 }
968 if (
value == MappingType.SimpleContent &&
_table !=
null)
969 {
970 int num = 0;
972 {
973 num = 1;
974 }
976 {
978 }
980 {
981 throw ExceptionBuilder.CannotAddColumn3();
982 }
984 {
985 throw ExceptionBuilder.CannotAddColumn4(
ColumnName);
986 }
987 }
990 {
992 {
994 }
995 if (
value == MappingType.Element)
996 {
998 }
1000 {
1002 }
1003 }
1005 if (
value == MappingType.SimpleContent)
1006 {
1009 {
1011 }
1013 }
1014 }
1015 }
void RaisePropertyChanging(string name)
MappingType _columnMapping
Referenced by System.Data.DataTableReader.GetSchemaTableFromDataTable(), System.Data.XmlDataLoader.IsTextOnly(), System.Xml.XPathNodePointer.IsValidChild(), System.Xml.DataPointer.MoveToAttribute(), System.Xml.XPathNodePointer.MoveToAttribute(), System.Xml.XPathNodePointer.MoveToNextAttribute(), System.Xml.DataPointer.MoveToOwnerElement(), System.Xml.DataPointer.MoveToParent(), and System.Xml.DataPointer.RealFoliate().