Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Leas object.
 /// </summary>
 /// <param name="leaseId">Initial value of the LeaseId property.</param>
 /// <param name="propertyInfoId">Initial value of the PropertyInfoId property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="paymentDay">Initial value of the PaymentDay property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="lateFee">Initial value of the LateFee property.</param>
 /// <param name="securityDeposit">Initial value of the SecurityDeposit property.</param>
 /// <param name="petRent">Initial value of the PetRent property.</param>
 /// <param name="petDeposit">Initial value of the PetDeposit property.</param>
 /// <param name="cleaningDeposit">Initial value of the CleaningDeposit property.</param>
 /// <param name="achEnabled">Initial value of the AchEnabled property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="duration">Initial value of the Duration property.</param>
 /// <param name="gracePeriod">Initial value of the GracePeriod property.</param>
 /// <param name="continuesMonthly">Initial value of the ContinuesMonthly property.</param>
 public static Leas CreateLeas(global::System.Int32 leaseId, global::System.Int32 propertyInfoId, global::System.String firstName, global::System.String lastName, global::System.DateTime startDate, global::System.Boolean isActive, global::System.Int32 paymentDay, global::System.Decimal amount, global::System.Decimal lateFee, global::System.Decimal securityDeposit, global::System.Decimal petRent, global::System.Decimal petDeposit, global::System.Decimal cleaningDeposit, global::System.Boolean achEnabled, global::System.Boolean isDeleted, global::System.DateTime createDate, global::System.String createdBy, global::System.Int32 duration, global::System.Int32 gracePeriod, global::System.Boolean continuesMonthly)
 {
     Leas leas = new Leas();
     leas.LeaseId = leaseId;
     leas.PropertyInfoId = propertyInfoId;
     leas.FirstName = firstName;
     leas.LastName = lastName;
     leas.StartDate = startDate;
     leas.IsActive = isActive;
     leas.PaymentDay = paymentDay;
     leas.Amount = amount;
     leas.LateFee = lateFee;
     leas.SecurityDeposit = securityDeposit;
     leas.PetRent = petRent;
     leas.PetDeposit = petDeposit;
     leas.CleaningDeposit = cleaningDeposit;
     leas.AchEnabled = achEnabled;
     leas.IsDeleted = isDeleted;
     leas.CreateDate = createDate;
     leas.CreatedBy = createdBy;
     leas.Duration = duration;
     leas.GracePeriod = gracePeriod;
     leas.ContinuesMonthly = continuesMonthly;
     return leas;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Leases EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeases(Leas leas)
 {
     base.AddObject("Leases", leas);
 }