예제 #1
0
파일: Lease.cs 프로젝트: Jackeeet/Martius
 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);
 }
예제 #2
0
 internal void AddLease(Lease lease) => AddEntity(lease, _tableName, _tableColumns);
예제 #3
0
파일: Lease.cs 프로젝트: Jackeeet/Martius
 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));
 }