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