/// <summary> /// Create a new LeaseTransaction object. /// </summary> /// <param name="leaseTransactionId">Initial value of the LeaseTransactionId property.</param> /// <param name="leaseId">Initial value of the LeaseId property.</param> /// <param name="dueDate">Initial value of the DueDate property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static LeaseTransaction CreateLeaseTransaction(global::System.Int64 leaseTransactionId, global::System.Int32 leaseId, global::System.DateTime dueDate, global::System.Decimal amount, global::System.String status, global::System.DateTime createDate, global::System.Boolean isDeleted) { LeaseTransaction leaseTransaction = new LeaseTransaction(); leaseTransaction.LeaseTransactionId = leaseTransactionId; leaseTransaction.LeaseId = leaseId; leaseTransaction.DueDate = dueDate; leaseTransaction.Amount = amount; leaseTransaction.Status = status; leaseTransaction.CreateDate = createDate; leaseTransaction.IsDeleted = isDeleted; return leaseTransaction; }
/// <summary> /// Deprecated Method for adding a new object to the LeaseTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeaseTransactions(LeaseTransaction leaseTransaction) { base.AddObject("LeaseTransactions", leaseTransaction); }