Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8981809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:25:39+00:00 2026-06-15T20:25:39+00:00

I am looking at EntityFramework.Extended . It can run Update() and Delete() on the

  • 0

I am looking at EntityFramework.Extended . It can run Update() and Delete() on the db entities. like:

//delete all users where FirstName matches
context.Users.Delete(u => u.FirstName == "firstname");

But the funny thing is, it don’t need to call context.SaveChanges(), it just go directly into the DB and delete the records.

Is it a bad design? I think every modification on entities will need to call SaveChanges() to take effect and keep the correct relationships and mappings between database and memory objects.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:25:40+00:00Added an answer on June 15, 2026 at 8:25 pm

    You have to understand what SaveChanges does. SaveChanges commits object model changes that are stored in the current Local cache.

    The library you are referring to generates SQL command statements, and do not modify the object context. As such, since the object context is not altered, there are no changes to save (in other words, SaveChanges refers to the data model, not the database).

    To illustrate this… Imagine the difference between your kids taking the bus to school, and you dropping them off.

    When they take the bus to school, the school bus drives around to its various stops, and then when it’s finished the bus drops all the kids off at once. This is sort of like calling SaveChanges.

    But when you take you drop your kids off at school, it’s a single task that gets done in a single action, at the time you do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking for a perl one-liner what will find all words with the next pattern:
Looking for best advice on how to do this: I have an insert like
I may be looking for a non-existent holy grail here, but it's worth a
I'm using SL 5.0 and EntityFramework. I need to get data from two entities,
I'm looking for this list for Entity Framework. Ideally, I'd like to have a
I am looking into migrate a large project to Entity Framework 4.0 but am
I'm currently looking into possible ways we can refactor our codebase, to make it
I am looking to use Entity framework as database layer in my application, but
We are looking for a way of automatically filtering all CRUD operations by a
I've been looking at a lot of WCF examples using EntityFramework and most of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.