Пример #1
0
        /// <summary>
        /// Sets the internal members with the data from a compatible type obect.
        /// </summary>
        /// <param name="data">The data to set internally.</param>
        internal override void SetMembers(ref MISMO.Entities.TransactionDetailBase data)
        {
            // first let the base do its work.
            base.SetMembers(ref data);

            // load up the purchase credit data
            _purchasecreditcol = this.GetPurchaseCreditCollection();

            // refactor the checksum
            RecalculateChecksum();
        }
Пример #2
0
        /// <summary>
        /// Creates constructor that enables object to be populated by its identity items.
        /// </summary>
        public TransactionDetail(System.Int64 loanApplicationId)
            : base(loanApplicationId)
        {
            if (this.Persisted)
            {
                _purchasecreditcol = this.GetPurchaseCreditCollection();
            }

            if (this.GetType() == typeof(MISMO.BusinessObjects.AUS.TransactionDetail))
            {
                this.RecalculateChecksum();
            }
        }
Пример #3
0
        /// <summary>
        /// Sets the internal members with the data from a compatible type obect.
        /// </summary>
        /// <param name="data">The data to set internally.</param>
        internal override void SetMembers(ref MISMO.Entities.TransactionDetailBase data)
        {
            // first let the base do its work.
            base.SetMembers(ref data);

            // load up the purchase credit data
            _purchasecreditcol = this.GetPurchaseCreditCollection();

            // refactor the checksum
            RecalculateChecksum();
        }