/// <summary> /// Retrieves a collection of <see cref="!:SearchColumnModel" /> instances. /// </summary> /// <param name="searchTypeId"> /// The value which identifies the <see cref="!:SearchColumnModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:SearchColumnModel" /> instances that match the specified <paramref name="searchTypeId" />. /// </returns> public static IEnumerable <Consensus.Search.SearchColumn> FetchAllBySearchTypeId(System.Int32 searchTypeId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SearchColumn.FetchAllBySearchTypeId(site, searchTypeId)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SearchColumn.GetTableName(site)); }
/// <summary> /// Retrieves all instances of the <see cref="!:SearchColumnModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:SearchColumnModel" /> instances. /// </returns> public static IEnumerable <Consensus.Search.SearchColumn> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SearchColumn.FetchAll(site)); }
/// <summary> /// Retrieves a specific <see cref="!:SearchColumnModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:SearchColumnModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:SearchColumnModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Search.SearchColumn FetchById(System.Int32 id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SearchColumn.FetchById(site, id)); }
/// <summary> /// Creates a new <see cref="!:SearchColumnModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:SearchColumnModel" /> instance. /// </returns> public static Consensus.Search.SearchColumn Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SearchColumn.Create(site)); }