/// <summary> /// Deprecated Method for adding a new object to the LeaseTransactionCredits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeaseTransactionCredits(LeaseTransactionCredit leaseTransactionCredit) { base.AddObject("LeaseTransactionCredits", leaseTransactionCredit); }
/// <summary> /// Create a new LeaseTransactionCredit object. /// </summary> /// <param name="leaseTransactionCreditId">Initial value of the LeaseTransactionCreditId property.</param> /// <param name="leaseTransactionId">Initial value of the LeaseTransactionId property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static LeaseTransactionCredit CreateLeaseTransactionCredit(global::System.Int64 leaseTransactionCreditId, global::System.Int64 leaseTransactionId, global::System.Decimal amount, global::System.DateTime createDate, global::System.Boolean isDeleted) { LeaseTransactionCredit leaseTransactionCredit = new LeaseTransactionCredit(); leaseTransactionCredit.LeaseTransactionCreditId = leaseTransactionCreditId; leaseTransactionCredit.LeaseTransactionId = leaseTransactionId; leaseTransactionCredit.Amount = amount; leaseTransactionCredit.CreateDate = createDate; leaseTransactionCredit.IsDeleted = isDeleted; return leaseTransactionCredit; }