I want to compare two entity instance and deduce whether they are same or not..
Conside an entity person and it has two instance of person. Now how can I right rules for this comparision of name, age and gender.
See help topic
Entity and Relationship rule function examples
Specifically the examples:
the product is a duplicate if
ExistsScope(the products, the other product)
the code for the product = the code for the other product and
InstanceEquals(the product, the other product)
the employee has a conflicting identification code if
ExistsScope(the employees, the other employee)
the employee's identification code = the other employee's identification code and
InstanceNotEquals(the employee, the other employee)
Hope that helps,