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