Пример #1
0
        public static IEnumerable <Consensus.Learning.SessionXref> FetchAllByEventProductId(System.Nullable <System.Int32> eventProductId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.FetchAllByEventProductId(site, eventProductId));
        }
Пример #2
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:SessionXrefModel" /> instances.
        /// </summary>
        /// <param name="sessionId">
        ///     The value which identifies the <see cref="!:SessionXrefModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:SessionXrefModel" /> instances that match the specified <paramref name="sessionId" />.
        /// </returns>
        public static IEnumerable <Consensus.Learning.SessionXref> FetchAllBySessionId(System.String sessionId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.FetchAllBySessionId(site, sessionId));
        }
Пример #3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.GetTableName(site));
        }
Пример #4
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:SessionXrefModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:SessionXrefModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:SessionXrefModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Learning.SessionXref FetchById(System.String id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.FetchById(site, id));
        }
Пример #5
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:SessionXrefModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:SessionXrefModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Learning.SessionXref> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.FetchAll(site));
        }
Пример #6
0
        /// <summary>
        ///     Creates a new <see cref="!:SessionXrefModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:SessionXrefModel" /> instance.
        /// </returns>
        public static Consensus.Learning.SessionXref Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SessionXref.Create(site));
        }