No announcements
Found 2922605 threads
-
0 Votes
How to add transaction to Entity Framework 4 SaveChanges and SqlConnection
; Anyone have any ideas how to wrap a Entity Framework 4 SaveChanges within a transaction with SqlConnection ...Unanswered | 3 Replies | 1391 Views | Created by brcbrc - Monday, September 30, 2019 10:49 PM | Last reply by DA924x - Tuesday, October 1, 2019 8:00 AM -
0 Votes
Entity Framework Add To Collection Transaction
time and I load the auction, add their bid to the bids collection and save changes will the framework detect if another auction was already ...Answered | 1 Replies | 4471 Views | Created by CheeseburgerMatt - Monday, April 4, 2011 2:31 PM | Last reply by L.J Lincoln - Thursday, April 7, 2011 7:21 AM -
0 Votes
Entity Framework SaveChanges() exception
Hi, I am using MVC4 and entity framework to manage data. And I often met exception when I updating data, The code is ...Answered | 5 Replies | 3064 Views | Created by Pigger9 - Tuesday, October 29, 2013 4:50 PM | Last reply by Adavesh - Wednesday, October 30, 2013 2:17 AM -
0 Votes
Entity Framework SaveChanges Error
So I am getting this strange error with my entity framework saving. The following code is for adding elements to to my Elements Table and if they exist it ...Answered | 2 Replies | 2724 Views | Created by NerdHerd91 - Wednesday, September 5, 2012 4:58 PM | Last reply by Lisa Zhu - Friday, September 7, 2012 5:33 AM -
2 Votes
Entity Framework SaveChanges()
you're making three calls to the database, once for each call to .Count() and then once for the enumeration. Wherever you may be accessing the ...Answered | 7 Replies | 2906 Views | Created by PeterA56 - Wednesday, May 9, 2012 6:23 AM | Last reply by PeterA56 - Thursday, May 10, 2012 1:24 AM -
0 Votes
How to use ADO.net Entity Framework with an existing SqlConnection?
How to use ADO.net Entity Framework with an existing SqlConnection? ·Answered | 5 Replies | 5783 Views | Created by ezcoder - Friday, February 6, 2009 6:47 AM | Last reply by Mohan Krishna chowdary - Tuesday, May 15, 2018 4:23 PM -
0 Votes
Entity Framework 4 and Synonyms
idea there and add your comments. http://data.uservoice.com/forums/72025-ado-net-entity-framework-efAnswered | 1 Replies | 4639 Views | Created by bmains - Monday, October 25, 2010 7:44 PM | Last reply by Alex Liang - Tuesday, October 26, 2010 7:01 AM -
0 Votes
Entity Framework concurrent savechanges deadlock
Have you ever tried the code i provided? You will see that it ends in a deadlock. The raw sql just demonstrates that the deadlock does not happen when i use raw sql instead ...Unanswered | 4 Replies | 803 Views | Created by blenet - Monday, March 11, 2019 9:12 AM | Last reply by blenet - Tuesday, March 12, 2019 7:37 AM -
0 Votes
Entity Framework transaction problem
Hello, I'm newbie in entity framework. I found problem when rollback transaction but result doesn't ...Answered | 1 Replies | 6212 Views | Created by Jan957214 - Monday, November 8, 2010 10:26 AM | Last reply by liurong luo - Thursday, November 11, 2010 7:51 AM -
0 Votes
Entity Framework: Easy way to Do post-processing after SaveChanges()?
You can override the SaveChanges() method in the DataContext (Your Entities partial class) or you can hook into the SaveChanges event on the entity framework. ...Answered | 4 Replies | 11215 Views | Created by Poonwahj - Friday, April 8, 2011 2:25 PM | Last reply by dwhite - Visoft Inc - Monday, May 27, 2013 3:35 PM -
2 Votes
Entity framework 4 Many-to-Many relationship
Table-3: BookAuthor BookId AuthorId Now, I'm trying to get ALL books with a particular AuthorId, but I do NOT know ...Answered | 1 Replies | 5768 Views | Created by sas79gi - Thursday, June 24, 2010 1:44 AM | Last reply by Syed Mehroz Alam - Thursday, June 24, 2010 6:28 AM -
0 Votes
Entity Framework 4 Many to Many Binding
The Entity Framework 4 is driving me mad, This situation is: Employee entity - many to many association - Department ...Answered | 1 Replies | 3474 Views | Created by CGilb - Wednesday, September 1, 2010 9:42 PM | Last reply by liurong luo - Monday, September 6, 2010 3:11 AM -
0 Votes
entity framework 4 update
In my ASP.net api service I use entity framework to send out a list of objects to client. I would like to post back to service one modified ...Answered | 2 Replies | 1370 Views | Created by PAUL stanley - Saturday, October 13, 2012 3:26 PM | Last reply by PAUL stanley - Monday, October 15, 2012 6:23 PM -
0 Votes
How to upgrade entity framework 4 to 6
then you will need to select the Online tab and search for EF 6.x EntityObject Generator since as far as I know, the Entity Framework does not provide ...Answered | 1 Replies | 943 Views | Created by Shan Khan - Monday, September 22, 2014 11:17 AM | Last reply by Fred Bao - Tuesday, September 23, 2014 3:29 AM -
0 Votes
How to add Entity Framework model to Project with GAT
ADO.NET Entity Data Model. How do I do that? Thanks! -
2 Votes
Entity Framework: access data from existing sqlconnection
Hi all I am new in Entity Framework ... I have build edmx class to my data ...Answered | 4 Replies | 2960 Views | Created by frank.uray - Friday, May 18, 2012 9:47 AM | Last reply by Allen_MSDN - Monday, May 21, 2012 7:17 AM -
6 Votes
Transaction in Entity Framework
Not sure I understand. You want to run this code in a loop for 30 times and commit the changes after 30 times? SaveChanges uses a transaction by ...Answered | 12 Replies | 30066 Views | Created by Marcos Aguiar Jr - Thursday, August 20, 2009 3:15 PM | Last reply by Marcos Aguiar Jr - Thursday, August 27, 2009 11:42 AM -
0 Votes
Ignor Entity during SaveChanges
to happen to either the database or the local entity object. All I need is help on how to ignor an entity during ...Answered | 1 Replies | 3685 Views | Created by nickwoodgts - Monday, June 21, 2010 2:02 AM | Last reply by nickwoodgts - Monday, June 21, 2010 2:10 AM -
0 Votes
entity framework 6.0 transaction issue
Hi Got an issue when using sqlcommand in entity framework 6.0 in our web application. As an default setting, it will add a ...Proposed | 6 Replies | 888 Views | Created by ni.chris - Tuesday, March 13, 2018 1:33 PM | Last reply by Zhanglong Wu - Wednesday, March 14, 2018 7:33 AM -
1 Votes
How to implement transaction in this scenario in Entity Framework
. The TransactionScope ensures that changes to objects in the object context are coordinated with a message queue. The Entity Framework uses this transaction when ...Answered | 2 Replies | 2366 Views | Created by Khadim Ali - Wednesday, July 18, 2012 6:55 AM | Last reply by Khadim Ali - Saturday, August 4, 2012 2:07 PM - Items 1 to 20 of 2922605 Next ›
No announcements