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