/// <summary> /// Sets an entity property as searchable by a specific search type /// </summary> /// <param name="searchType">How to search the property at the database level</param> public SearchAbleAttribute(SearchAbleType searchType) { this.SearchType = searchType; }
/// <summary> /// Sets an entity property as searchable with a specific database name and searchable type /// </summary> /// <param name="aliasName">The name of the property at the database level, can be a dot notation to a sub-entity property</param> /// <param name="searchType">How to search the property at the database level</param> public SearchAbleAttribute(string aliasName, SearchAbleType searchType) : this(aliasName) { this.SearchType = searchType; }