示例#1
0
        private void HandleMaxLengthElement(XmlReader reader)
        {
            IntegerFacetDescriptionElement descriptionElement = new IntegerFacetDescriptionElement(this, "MaxLength");

            descriptionElement.Parse(reader);
            this._facetDescriptions.Add((FacetDescriptionElement)descriptionElement);
        }
示例#2
0
        // <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);
        }
示例#3
0
 // <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);
 }