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); }
internal void AddLease(Lease lease) => AddEntity(lease, _tableName, _tableColumns);
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)); }