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); }
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; }
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; }