No announcements
Found 1240469 threads
-
0 Votes
How to update column in database from entity framework.
Entity Framework doesn't like you changing primary keys.Answered | 1 Replies | 2767 Views | Created by Mozak104 - Friday, January 20, 2012 12:28 PM | Last reply by Andy ONeill - Friday, January 20, 2012 12:57 PM -
0 Votes
Update database with the new entity created in the designer
The built-in tools are not very good at handling incremental model changes; the "generate database from model" command is good at creating a new database from scratch but ...Answered | 3 Replies | 2301 Views | Created by denfer - Tuesday, January 24, 2012 2:21 PM | Last reply by denfer - Monday, January 30, 2012 3:17 PM -
2 Votes
EF4 POCO entity updates are not being committed to the database
Groggg987, Given your code that I downloaded yesterday and the updates that I posted this morning entities are getting updated.Answered | 21 Replies | 11390 Views | Created by Mike Paterson - Thursday, January 21, 2010 2:53 AM | Last reply by Mike Paterson - Wednesday, April 6, 2011 4:35 PM -
2 Votes
Entity Framework For Large Databases ?
Scenario is, Client is using Oracle 11g database across the enterprise for storage needs and planning to re-write their application using .Net and still have Oracle as their ...Answered | 3 Replies | 11274 Views | Created by pradeeps2 - Tuesday, March 15, 2011 7:13 AM | Last reply by Michael Sun [MSFT] - Thursday, March 17, 2011 3:10 AM -
2 Votes
Entity Framework: How to handle database mismatch with the entity database model?
If database structure changes and the code that uses it is not updated or vice versa (code changes but database isn't updated to match), then your ...Answered | 3 Replies | 8770 Views | Created by JJChen - Wednesday, May 26, 2010 5:46 PM | Last reply by Mike Paterson - Thursday, May 27, 2010 10:32 PM -
0 Votes
Problem partially updating entities
In this case, you'd requery the entity (i.e. don't use Refresh), and then re-set the original values of the entity using data from this query.Answered | 2 Replies | 3655 Views | Created by Nazo - Tuesday, August 4, 2009 3:33 PM | Last reply by Nazo - Thursday, September 24, 2009 3:57 PM -
3 Votes
Updating the Entity Framework at runtime
Currently, Entity Framework does not support using "property bags" as entities.Answered | 8 Replies | 7972 Views | Created by Michael L. Wagner - Wednesday, April 29, 2009 3:41 PM | Last reply by Jonathan Winata - Friday, May 1, 2009 8:50 PM -
1 Votes
ADO Entities and Multiple Databases
I was hoping for one entity data model with multiple databases supported via one connection.Answered | 4 Replies | 3148 Views | Created by James Wilkins - Tuesday, March 17, 2009 5:10 AM | Last reply by James Wilkins - Friday, March 20, 2009 11:07 PM -
0 Votes
Update an Entity Relations with an *-* FK
These two lines are probably not doing what you think they are doing: ent.Detach(familySpec); ...Answered | 1 Replies | 3474 Views | Created by Amin-Mashayekhi - Tuesday, May 11, 2010 6:53 AM | Last reply by Arthur Vickers - MSFT - Thursday, May 13, 2010 4:15 PM -
0 Votes
How to update entity object and graph
So now the trick is let EF know about that graph of entities in the update context and how they have changed so that the appropriate insert/update commands can be ...Answered | 6 Replies | 6136 Views | Created by Jerome Lambert BE - Sunday, March 13, 2011 3:31 PM | Last reply by Alan_chen - Thursday, March 24, 2011 1:21 AM -
2 Votes
DbUpdateConcurrencyException in Entity Framework Database First
Now, let say you want to update the Person details.Answered | 5 Replies | 5734 Views | Created by DevePlex - Saturday, April 27, 2013 10:10 AM | Last reply by KoyaKishore - Monday, April 29, 2013 10:10 AM -
0 Votes
Update Detached entity in EF 6
The question is how do I update the database using a detached entity with Entity Framework 6.Answered | 5 Replies | 2154 Views | Created by Ken Taps - Thursday, June 4, 2015 9:29 PM | Last reply by Fred Bao - Wednesday, June 17, 2015 8:00 AM -
0 Votes
Updating detached entities
I believe what you you need is a "ApplyCurrentValues" method on your Interface, which does a deep copy from the detached entity to the actual entity in the ...Answered | 4 Replies | 4063 Views | Created by TrippBlunschi - Thursday, July 8, 2010 1:30 PM | Last reply by Michael Sun [MSFT] - Thursday, July 15, 2010 1:30 AM -
0 Votes
Cannot Save Detached Entity to Database
I have a tip for exactly what you are trying to do, check it out: Tip 17 – How to do one step updates with AttachAsModified(..)Answered | 1 Replies | 4130 Views | Created by sisdog - Saturday, May 9, 2009 6:11 AM | Last reply by Alex D James - MSFT - Saturday, May 9, 2009 11:51 PM -
3 Votes
Insert or Update Entity
I understand that, so back to my original question, what I'd like to have on the server is an operation with Update OR Insert semantics, which would update if the entity ...Answered | 5 Replies | 8582 Views | Created by vbori - Wednesday, August 18, 2010 3:33 PM | Last reply by Neil Mackenzie - Thursday, August 19, 2010 4:21 PM -
0 Votes
Entity Data Model - Database connection
Please look a this thread on StackOverflow: http://stackoverflow.com/questions/76488/using-mysql-with-entity-frameworkAnswered | 3 Replies | 4096 Views | Created by DotNetUser123 - Sunday, August 1, 2010 5:24 PM | Last reply by Srinivas Gantimahapatruni - MCPD - Wednesday, August 4, 2010 1:35 PM -
1 Votes
Updating entity with reference
a.AddressId == new Guid("4B10488B-3910-4710-8341-D884ECDB50E6")); // Set current values: address.AddressLine1 = "18 My ...Answered | 1 Replies | 3452 Views | Created by sliedig - Friday, January 23, 2009 2:06 AM | Last reply by Arthur Vickers – MSFT - Monday, February 2, 2009 10:06 PM -
0 Votes
Updating a record using entity framework
I'm new to the Entity Framework and had the same problem finding basic examples of common tasks.Answered | 2 Replies | 5980 Views | Created by Adam-R - Friday, December 12, 2008 11:53 AM | Last reply by Duke Ames - Wednesday, December 31, 2008 1:27 AM -
0 Votes
Regarding the entity framework's update
You can have look at below ...Answered | 2 Replies | 3420 Views | Created by Tony2008 - Thursday, September 8, 2011 9:23 AM | Last reply by Alan_chen - Wednesday, September 14, 2011 6:35 AM -
1 Votes
Entity Framework 5 - Update Method for non loaded entity properties
Using my old standard practice I have a generic UnitOfWork class and Generic Repository/DbSet update method.Answered | 2 Replies | 2329 Views | Created by 00Stu - Tuesday, July 2, 2013 7:50 AM | Last reply by 00Stu - Tuesday, July 2, 2013 10:44 AM - Items 1 to 20 of 1240469 Next ›
No announcements