public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SellingCompany.GetTableName(site)); }
/// <summary> /// Retrieves all instances of the <see cref="!:SellingCompanyModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:SellingCompanyModel" /> instances. /// </returns> public static IEnumerable <Consensus.Common.SellingCompany> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SellingCompany.FetchAll(site)); }
/// <summary> /// Retrieves a specific <see cref="!:SellingCompanyModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:SellingCompanyModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:SellingCompanyModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Common.SellingCompany FetchById(System.String id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SellingCompany.FetchById(site, id)); }
/// <summary> /// Creates a new <see cref="!:SellingCompanyModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:SellingCompanyModel" /> instance. /// </returns> public static Consensus.Common.SellingCompany Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SellingCompany.Create(site)); }