Esempio n. 1
0
        public static ColumnIndexInfo WithInfoFromFullTextIndexAttribute(this ColumnIndexInfo indexInfo,
                                                                         FullTextIndexAttribute indexAttribute)
        {
            if (indexAttribute == null)
            {
                return(indexInfo);
            }
            indexInfo.IndexType = IndexType.FullTextIndex;
            var tmp = indexInfo.FullTextCatalog ?? new FullTextCatalogInfo();

            tmp.Name = indexAttribute.FullTextCatalogName;
            indexInfo.FullTextCatalog = tmp;
            return(indexInfo);
        }
Esempio n. 2
0
 public FullTextIndexFieldAttribute(FullTextIndexAttribute fieldAttributes, string memberPath)
     : this(fieldAttributes)
 {
     this.MemberPath = memberPath;
 }
        /// <summary>Initializes a new instance of the NServiceKit.SearchIndex.FullTextIndexFieldAttribute class.</summary>
        ///
        /// <param name="fieldAttributes">The field attributes.</param>
        /// <param name="memberPath">     Full pathname of the member file.</param>
		public FullTextIndexFieldAttribute(FullTextIndexAttribute fieldAttributes, string memberPath)
				: this(fieldAttributes)
		{
			this.MemberPath = memberPath;
		}
Esempio n. 4
0
 public FullTextIndexFieldAttribute(FullTextIndexAttribute fieldAttributes)
 {
     this.FieldAttributes = fieldAttributes;
 }
        /// <summary>Initializes a new instance of the NServiceKit.SearchIndex.FullTextIndexFieldAttribute class.</summary>
        ///
        /// <param name="fieldAttributes">The field attributes.</param>
		public FullTextIndexFieldAttribute(FullTextIndexAttribute fieldAttributes)
		{
			this.FieldAttributes = fieldAttributes;
		}