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

Create DBSet #78

Open
ChrisBAshton opened this issue May 1, 2015 · 0 comments
Open

Create DBSet #78

ChrisBAshton opened this issue May 1, 2015 · 0 comments

Comments

@ChrisBAshton
Copy link
Owner

Once #75 and #76 are done, it makes sense to remove the distinction between DBCreate and DBUpdate. Instead, have one DBSet object which handles both cases.

The application shouldn't need to know whether an object is existing and needs updating or whether that object is new and needs inserting in the database. It should just be able to call DBSet, which in turn would do the querying and then call DBCreate or DBUpdate (or some refactored equivalents).

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

No branches or pull requests

1 participant