예제 #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);
        }
예제 #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;
		}
예제 #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;
		}