Ejemplo n.º 1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:LiteratureModel" /> instances.
        /// </summary>
        /// <param name="ltIdId">
        ///     The value which identifies the <see cref="!:LiteratureModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LiteratureModel" /> instances that match the specified <paramref name="ltIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Document.Literature> FetchAllByLtIdId(System.String ltIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Literature.FetchAllByLtIdId(site, ltIdId));
        }
Ejemplo n.º 2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Literature.GetTableName(site));
        }
Ejemplo n.º 3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:LiteratureModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:LiteratureModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Document.Literature> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Literature.FetchAll(site));
        }
Ejemplo n.º 4
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:LiteratureModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:LiteratureModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LiteratureModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Document.Literature FetchById(System.String id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Literature.FetchById(site, id));
        }
Ejemplo n.º 5
0
        /// <summary>
        ///     Creates a new <see cref="!:LiteratureModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:LiteratureModel" /> instance.
        /// </returns>
        public static Consensus.Document.Literature Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Literature.Create(site));
        }