Example #1
0
 private void SetAllNull()
 {
     this.MapId        = 0;
     this.XPath        = string.Empty;
     this.Denormalized = null;
     this.XmlDataType  = XmlDataValues.AnyType;
 }
Example #2
0
 private void SetAllNull()
 {
     MapId        = 0;
     XPath        = string.Empty;
     Denormalized = null;
     XmlDataType  = XmlDataValues.AnyType;
 }
 private void SetAllNull()
 {
     this.MapId = 0;
     this.XPath = string.Empty;
     this.Denormalized = null;
     this.XmlDataType = XmlDataValues.AnyType;
 }
        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;
        }
Example #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;
            }
        }