示例#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));
 }