Exemple #1
0
        /// <summary>
        ///     Creates a new <see cref="!:LetterTemplateTypeModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:LetterTemplateTypeModel" /> instance.
        /// </returns>
        public static Consensus.Document.LetterTemplateType Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(LetterTemplateType.FetchById(site, id));
        }
Exemple #3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(LetterTemplateType.GetTableName(site));
        }
Exemple #4
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:LetterTemplateTypeModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:LetterTemplateTypeModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Document.LetterTemplateType> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(LetterTemplateType.FetchAll(site));
        }