Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Exists in Proximus.DBCollection<T> properly #5

Open
soundarmoorthy opened this issue Sep 23, 2019 · 0 comments
Open

Implement Exists in Proximus.DBCollection<T> properly #5

soundarmoorthy opened this issue Sep 23, 2019 · 0 comments

Comments

@soundarmoorthy
Copy link
Owner

As of now we are not able to generalize the way exists() can be implemented across different entities (Geocode, GeocodeMatrix, GeoDistance). This needs to be fixed.

  • A simple suggestion would be to have Exists() as a contract in IEntity and be implemented across different entities.

  • Another simple suggestion would be implementing Equals() in all entities and use the equals method as a predicate in the DBCollection.Exists() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant