No announcements
Found 2206430 threads
-
0 Votes
Entity Framework - one context or multiple
When working with Web applications, use a context instance per request. When working with Windows Presentation Foundation (WPF) or Windows Forms, use a ...Answered | 2 Replies | 4497 Views | Created by FloLeBlanc - Thursday, April 11, 2013 9:04 AM | Last reply by FloLeBlanc - Monday, April 22, 2013 2:42 PM -
0 Votes
WPF User Control used in multiple projects and Entity Framework
one table? Can the user control manage this table with a separate Entity Framework context? In this situation the user control project and the ...Answered | 1 Replies | 2115 Views | Created by aridcrayfish - Saturday, November 17, 2012 12:14 PM | Last reply by Michael Sun [MSFT] - Monday, November 19, 2012 9:26 AM -
0 Votes
WebApi Methods With Multiple Tables
, I come upon problems. I've tried multiple approaches (Entity Framework, DbFactory models, etc) but always run into issues. Are there any ...Answered | 1 Replies | 1883 Views | Created by polymorphic - Wednesday, July 6, 2016 2:10 PM | Last reply by DA924x - Wednesday, July 6, 2016 2:17 PM -
0 Votes
Multiple context and entity framework.
many OrderAnswered | 5 Replies | 4522 Views | Created by Gianni Ghezzi - Monday, October 29, 2012 10:49 AM | Last reply by Gianni Ghezzi - Saturday, November 3, 2012 5:08 PM -
0 Votes
Entity Framework
Custom implementations of Equals or GetHashCode on entity classes are now supported.DbSet.AddRange/RemoveRange provides an optimized way to add or remove multipleAnswered | 1 Replies | 363 Views | Created by Sulekh K - Tuesday, October 4, 2016 6:36 AM | Last reply by Zhanglong Wu - Wednesday, October 5, 2016 12:58 AM -
0 Votes
Entity Framework Context Management
the Unit of Work Pattern it permit to use multiple repositories by sharing the single database context. And the concurrency is talked on the linkAnswered | 1 Replies | 6519 Views | Created by Mike Dot Net - Monday, June 13, 2011 9:40 PM | Last reply by Alexandre Barault - Monday, June 13, 2011 10:16 PM -
0 Votes
Entity Framework 4.0 threading problem
to interact with the Entity Framework or your entity classes from multiple threads, then you must pay careful attention to concurrency issues. ...Answered | 2 Replies | 4108 Views | Created by Allen Anderson - Saturday, March 26, 2011 4:29 AM | Last reply by Alan_chen - Tuesday, April 5, 2011 3:00 AM -
0 Votes
Changing Connection String at Run Time for Entity Framework 5
Time to answer my own question, and bring up some "weirdness" about the Framework. It turns out that the Database property of the entity either doesn't ...Answered | 2 Replies | 4458 Views | Created by IntercareIns - Thursday, February 14, 2013 5:22 PM | Last reply by Alexander Sun - Friday, February 15, 2013 6:40 AM -
0 Votes
Attach Nagivation Property Within an Entity
context, but it's causing problems with tracking the navigation property. I either get an error saying 'An entity object cannot be referenced by multiple ...Answered | 2 Replies | 3000 Views | Created by Kyle Stevens - Wednesday, June 22, 2011 3:15 PM | Last reply by Jackie-Sun - Wednesday, June 29, 2011 5:48 AM -
0 Votes
Entity Framework Code first questions
Class because it does not like Enums. Currently, Entity Framework does not support to save the enum as a table. If you want it have such an function, you can post ...Answered | 2 Replies | 1802 Views | Created by MS Technologist - Thursday, May 22, 2014 6:02 AM | Last reply by Fred Bao - Friday, May 30, 2014 6:24 AM -
0 Votes
Multiple Entity Sets On Context for one Entity Type
if the user goes back to that page. But I don't want the extra tasks in there either. Is there a way to have the context have two different task entity ...Answered | 2 Replies | 2492 Views | Created by Greg Gum - Saturday, July 17, 2010 8:21 PM | Last reply by Greg Gum - Sunday, July 18, 2010 8:28 AM -
0 Votes
How can one make a self-loading entity?
IoC container of your choice to inject the context into the POCO. The problem here is you wouldn't be able to use LINQ easily outside the defined methods or you'll have to come up ...Answered | 1 Replies | 3646 Views | Created by mkamoski3 - Wednesday, June 10, 2009 8:19 PM | Last reply by Dmitry Starosta - Thursday, June 11, 2009 1:53 AM -
0 Votes
Entity Framework Context problem
Hi In EF 4.0 when I create the model the generated context object does not have a SaveChanges() method is there something different between 3.5 and 4.0 ... -
0 Votes
Read Only Data Access with Entity Framework
I am developing a MVC dashboard application with SQL Server. I used Entity Framework Database First concept to get my records. Scenario There is ...Unanswered | 1 Replies | 1889 Views | Created by akhilrajau - Monday, March 12, 2018 4:26 AM | Last reply by Zhanglong Wu - Monday, March 12, 2018 6:24 AM -
0 Votes
Entity Framework Core or Entity Framework 6.3
Hello Team, We are building an API in .net core 3. I would like to know which ORM framework (EF core or EF 6.3) is a best fit with respect to .net core ...Unanswered | 1 Replies | 985 Views | Created by Guru-msdn - Friday, December 6, 2019 4:30 PM | Last reply by Ken Tucker - Saturday, December 14, 2019 4:00 PM -
0 Votes
Entity Framework 5, Multiple Models, Same Entity
). Entity Framework is clever enough to create only one customer class ( we are using the default Poco T4 templates for class generation ), however when I try and ...Answered | 6 Replies | 1054 Views | Created by NickTaylor - Monday, December 16, 2013 12:22 PM | Last reply by Fred Bao - Wednesday, December 25, 2013 9:02 AM -
0 Votes
Types for Navigation Properties and Namespace restriction
In the "Getting Started with the Entity Framework Using ASP.NET MVc" tutorial the following statements are made: -- If a navigation property can hold ...Answered | 1 Replies | 2130 Views | Created by WhiskeyRomeoLima - Thursday, October 20, 2011 10:06 PM | Last reply by Alan_chen - Friday, October 21, 2011 9:10 AM -
1 Votes
Context Transaction Verus Transaction Scope
It also uses multiple connections, where as the EF context uses one connection. So our question is pretty simple which is ...Answered | 2 Replies | 4745 Views | Created by GregJF - Wednesday, November 17, 2010 3:45 AM | Last reply by GregJF - Thursday, November 25, 2010 1:33 AM -
0 Votes
Entity Framework questions
5. When is the release date for entity framework?Answered | 3 Replies | 4942 Views | Created by Blast - Wednesday, February 6, 2008 12:11 AM | Last reply by Blast - Wednesday, February 6, 2008 7:17 PM -
0 Votes
Best practices for Entity Framework Context usage
if you don't want to save them, you can change their states or detach them from context. Have a nice day. Alan ...Unanswered | 2 Replies | 10043 Views | Created by brcpar - Tuesday, March 29, 2011 7:03 PM | Last reply by Alan_chen - Tuesday, April 12, 2011 7:35 AM - Items 1 to 20 of 2206430 Next ›
No announcements