/// <summary> /// Creates a new Edm structured value from an OData complex value. /// </summary> /// <param name="complexValue">The <see cref="ODataComplexValue"/> to create the structured value for.</param> internal ODataEdmStructuredValue(ODataComplexValue complexValue) : base(complexValue.GetEdmType()) { Debug.Assert(complexValue != null, "complexValue != null"); this.properties = complexValue.Properties; this.structuredType = this.Type == null ? null : this.Type.AsStructured(); }
/// <summary> /// Creates a new Edm structured value from an OData complex value. /// </summary> /// <param name="complexValue">The <see cref="ODataComplexValue"/> to create the structured value for.</param> internal ODataEdmStructuredValue(ODataComplexValue complexValue) : base(complexValue.GetEdmType()) { Debug.Assert(complexValue != null, "complexValue != null"); this.properties = complexValue.Properties; this.structuredType = this.Type == null ? null : this.Type.AsStructured(); }