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 8046417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:46:47+00:00 2026-06-05T05:46:47+00:00

I want to use entity framework to manage access to data. Windows applications will

  • 0

I want to use entity framework to manage access to data. Windows applications will be invoking a WCF service on a server, which will then use entity framework to read and write to the database.

Can anyone point me in the right direction on how to approach this? Maybe some sample code to get started?

Issues that come to mind but which I am not sure how to address are:

1) Concurrency – each user needs to have a separate context to which he can make the changes and then save them?

2) Connections – will the database be flooded with connections if we have many contexts?

3) Will the WCF service be able to cope with this load?

Thanks!

  • 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-05T05:46:48+00:00Added an answer on June 5, 2026 at 5:46 am

    I suggest you take a look here:
    http://msdn.microsoft.com/en-us/magazine/ee321569.aspx
    There are some nice patterns you can use, esspeccially self-tracking entities.

    1) In WCF (by default, you can change this), each call to the service, generates another instance of the service. So each user will have his own context, but per call, so i guess you need a little more. Im not sure, that you mean, that each user should have its own context as an instance of the EF context class, or that they should connect via different creadentials, to give them access to different data…

    2) What do you mean by flooded? If 1000 users will update the database in 1 second, then yea, the db will have to handle 1000 queries. But there is something called connection pooling, just google it.

    3) What kind of “load” do you mean? As “How many users will i be able to handle with WCF in this scenario”?

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

Sidebar

Related Questions

In a silverlight applicaiton i use entity framework as Data Access Layer. I want
I want to use Entity Framework for my data access on a project I'm
I want to use Services(WCF/RIA /Web) to take data from Entity Data Model class
I'm trying to use Entity Framework for my model/data access, and running into speed
i want use some data from a website with web service. i have a
i'm using MS northwind database, and use Entity Framework. I want to create new
I want to use Entity Framework to a load a number of sql tables
My question here is why should i want use the entity framework instead of
I want to use the entity framework. However I also have the requirement of
I want to use MVC 3 and the Entity Framework for my application. The

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.