public override bool Equals(object obj)
{
if (obj == null) return false;
if (obj.GetType() == this.GetType())
{
var retval = true;
retval &= (this.EmployeeID == ((Acme.Northwind.EFDAL.Entity.EmployeePrimaryKey)obj).EmployeeID);
return retval;
}
return false;
}