Пример #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:InvoiceLineModel" /> instances.
        /// </summary>
        /// <param name="sellingCompanyId">
        ///     The value which identifies the <see cref="!:InvoiceLineModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:InvoiceLineModel" /> instances that match the specified <paramref name="sellingCompanyId" />.
        /// </returns>
        public static IEnumerable <Consensus.Finance.InvoiceLine> FetchAllBySellingCompanyId(System.String sellingCompanyId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.FetchAllBySellingCompanyId(site, sellingCompanyId));
        }
Пример #2
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:InvoiceLineModel" /> instances.
        /// </summary>
        /// <param name="productIdId">
        ///     The value which identifies the <see cref="!:InvoiceLineModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:InvoiceLineModel" /> instances that match the specified <paramref name="productIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Finance.InvoiceLine> FetchAllByProductIdId(System.String productIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.FetchAllByProductIdId(site, productIdId));
        }
Пример #3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.GetTableName(site));
        }
Пример #4
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:InvoiceLineModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:InvoiceLineModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:InvoiceLineModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Finance.InvoiceLine FetchById(System.String id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.FetchById(site, id));
        }
Пример #5
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:InvoiceLineModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:InvoiceLineModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Finance.InvoiceLine> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.FetchAll(site));
        }
Пример #6
0
        /// <summary>
        ///     Creates a new <see cref="!:InvoiceLineModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:InvoiceLineModel" /> instance.
        /// </returns>
        public static Consensus.Finance.InvoiceLine Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(InvoiceLine.Create(site));
        }