/// <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)); }
/// <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)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(LetterTemplateType.GetTableName(site)); }
/// <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)); }