private void HandleMaxLengthElement(XmlReader reader) { IntegerFacetDescriptionElement descriptionElement = new IntegerFacetDescriptionElement(this, "MaxLength"); descriptionElement.Parse(reader); this._facetDescriptions.Add((FacetDescriptionElement)descriptionElement); }
// <summary> // Handler for the MaxLength element // </summary> // <param name="reader"> xml reader currently positioned at MaxLength element </param> private void HandleMaxLengthElement(XmlReader reader) { DebugCheck.NotNull(reader); var facetDescription = new IntegerFacetDescriptionElement(this, DbProviderManifest.MaxLengthFacetName); facetDescription.Parse(reader); _facetDescriptions.Add(facetDescription); }