private void SetInnerType(QueryType ContentField) { this.ContentField=((QueryType)(XTypedServices.GetCloneIfRooted(ContentField))); XTypedServices.SetName(this, this.ContentField); base.SetSubstitutionMember(ContentField); }
/// <summary> /// <para> /// Specifies a query to execute against instances of one or /// more object types. A set of ElementName elements may be included /// to specify an adhoc view of the csw:Record instances in the result /// set. Otherwise, use ElementSetName to specify a predefined view. /// The Constraint element contains a query filter expressed in a /// supported query language. A sorting criterion that specifies a /// property to sort by may be included. /// /// typeNames - a list of object types to query. /// </para> /// </summary> public Query(QueryType content) : base(true) { SetInnerType(content); }