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

Discussion for Oct 30 Design Meeting Notes #1331

Closed
julielerman opened this issue Dec 28, 2014 · 3 comments
Closed

Discussion for Oct 30 Design Meeting Notes #1331

julielerman opened this issue Dec 28, 2014 · 3 comments
Milestone

Comments

@julielerman
Copy link

Creating this issue to discuss items in https://github.com/aspnet/EntityFramework/wiki/Design-Meeting-Notes:-October-30,-2014

@julielerman
Copy link
Author

Curious why you've added the tracking methods back onto the context (currently Add, Attach, Update, Remove)? How will these differ from the ones on DbSet? So far I'm not seeing a behavior difference. It's confusing because it begs the question "oh no! which one do I use?" I dont' know if its just me, but I've gotten used to using Entry on dbcontext and add, etc. on dbset. I did look for discussion points but didn't see them. Thanks

@rowanmiller
Copy link
Contributor

@julielerman - They both do the same thing. Just makes it easier if you are writing code that doesn't target a particular type... rather than having to create a DbSet and add via that you can just add directly to the context.

@rowanmiller rowanmiller added this to the Discussions milestone Dec 29, 2014
@ajcvickers
Copy link
Member

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

3 participants