Exemple #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:PaymentChequeModel" /> instances.
        /// </summary>
        /// <param name="addressId">
        ///     The value which identifies the <see cref="!:PaymentChequeModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:PaymentChequeModel" /> instances that match the specified <paramref name="addressId" />.
        /// </returns>
        public static IEnumerable <Consensus.Finance.PaymentCheque> FetchAllByAddressId(System.String addressId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PaymentCheque.FetchAllByAddressId(site, addressId));
        }
Exemple #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PaymentCheque.GetTableName(site));
        }
Exemple #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:PaymentChequeModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:PaymentChequeModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Finance.PaymentCheque> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(PaymentCheque.FetchById(site, id));
        }
Exemple #5
0
        /// <summary>
        ///     Creates a new <see cref="!:PaymentChequeModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:PaymentChequeModel" /> instance.
        /// </returns>
        public static Consensus.Finance.PaymentCheque Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PaymentCheque.Create(site));
        }