/// <summary> /// Retrieves a collection of <see cref="!:PackModel" /> instances. /// </summary> /// <param name="packSellingCompanyIdId"> /// The value which identifies the <see cref="!:PackModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:PackModel" /> instances that match the specified <paramref name="packSellingCompanyIdId" />. /// </returns> public static IEnumerable <Consensus.Document.Pack> FetchAllByPackSellingCompanyIdId(System.String packSellingCompanyIdId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.FetchAllByPackSellingCompanyIdId(site, packSellingCompanyIdId)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.GetTableName(site)); }
/// <summary> /// Retrieves a specific <see cref="!:PackModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:PackModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:PackModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Document.Pack FetchById(System.String id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.FetchById(site, id)); }
/// <summary> /// Retrieves all instances of the <see cref="!:PackModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:PackModel" /> instances. /// </returns> public static IEnumerable <Consensus.Document.Pack> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.FetchAll(site)); }
/// <summary> /// Creates a new <see cref="!:PackModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:PackModel" /> instance. /// </returns> public static Consensus.Document.Pack Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.Create(site)); }
/// <summary> /// Checks if iCalMessage name exist. /// </summary> /// <param name="packName"> /// Name of the iCalendar Message. /// </param> /// <param name="packId"> /// Id of the iCalendar Message. /// </param> /// <returns> /// Whether iCalendar Message's name exist in database. /// </returns> public static System.Boolean CheckIfNameExist(System.String packName, System.String packId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(Pack.CheckIfNameExist(site, packName, packId)); }