Exemplo n.º 1
0
        public int DeclareCollation(string collation)
        {
            if (_uniqueCollations == null)
                _uniqueCollations = new UniqueList<XmlCollation>();

            return _uniqueCollations.Add(XmlCollation.Create(collation));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Add "collation" to the list of unique collations that are used by this query.  Return the index of
        /// the unique collation in the list.
        /// </summary>
        public int DeclareCollation(string collation)
        {
            if (this.uniqueCollations == null)
            {
                this.uniqueCollations = new UniqueList <XmlCollation>();
            }

            return(this.uniqueCollations.Add(XmlCollation.Create(collation)));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Add "collation" to the list of unique collations that are used by this query.  Return the index of
        /// the unique collation in the list.
        /// </summary>
        public int DeclareCollation(string collation)
        {
            _uniqueCollations ??= new UniqueList <XmlCollation>();

            return(_uniqueCollations.Add(XmlCollation.Create(collation)));
        }