Example #1
0
 protected bool Equals(Lease other)
 {
     return(Property.Equals(other.Property) && Tenant.Equals(other.Tenant) &&
            MonthlyPrice == other.MonthlyPrice && StartDate.Equals(other.StartDate) &&
            EndDate.Equals(other.EndDate) && Id == other.Id);
 }
Example #2
0
 internal void AddLease(Lease lease) => AddEntity(lease, _tableName, _tableColumns);
Example #3
0
 public bool ContentEquals(Lease other)
 {
     return(Property.Equals(other.Property) && Tenant.Equals(other.Tenant) &&
            MonthlyPrice == other.MonthlyPrice && StartDate.Equals(other.StartDate) &&
            EndDate.Equals(other.EndDate));
 }