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