Пример #1
0
 private void SetAllNull()
 {
     this.MapId        = 0;
     this.XPath        = string.Empty;
     this.Denormalized = null;
     this.XmlDataType  = XmlDataValues.AnyType;
 }
Пример #2
0
 private void SetAllNull()
 {
     MapId        = 0;
     XPath        = string.Empty;
     Denormalized = null;
     XmlDataType  = XmlDataValues.AnyType;
 }
Пример #3
0
 private void SetAllNull()
 {
     this.MapId = 0;
     this.XPath = string.Empty;
     this.Denormalized = null;
     this.XmlDataType = XmlDataValues.AnyType;
 }
Пример #4
0
        internal void FromXmlColumnProperties(XmlColumnProperties xcp)
        {
            this.SetAllNull();

            if (xcp.MapId != null) this.MapId = xcp.MapId.Value;
            if (xcp.XPath != null) this.XPath = xcp.XPath.Value;
            if (xcp.Denormalized != null && xcp.Denormalized.Value) this.Denormalized = xcp.Denormalized.Value;
            if (xcp.XmlDataType != null) this.XmlDataType = xcp.XmlDataType.Value;
        }
Пример #5
0
        internal void FromXmlColumnProperties(XmlColumnProperties xcp)
        {
            this.SetAllNull();

            if (xcp.MapId != null)
            {
                this.MapId = xcp.MapId.Value;
            }
            if (xcp.XPath != null)
            {
                this.XPath = xcp.XPath.Value;
            }
            if (xcp.Denormalized != null && xcp.Denormalized.Value)
            {
                this.Denormalized = xcp.Denormalized.Value;
            }
            if (xcp.XmlDataType != null)
            {
                this.XmlDataType = xcp.XmlDataType.Value;
            }
        }