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