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