No announcements
Found 1948830 threads
-
0 Votes
EF Database First Approach
See http://sankarsan.wordpress.com/2010/10/14/entity-framework-ctp-4-0-database-initialization If you have something already existing and want to create a v 2, it would be Code ...Answered | 1 Replies | 2219 Views | Created by murehwa - Tuesday, April 3, 2012 11:01 PM | Last reply by Patrice Scribe - Wednesday, April 4, 2012 11:08 AM -
0 Votes
EF5 Code First EDMFunction support
Hi, EdmFunction was used by database management system or storage model.Answered | 3 Replies | 2730 Views | Created by ThomasFJ - Friday, September 6, 2013 11:08 AM | Last reply by GalleryIsUsed - Thursday, September 12, 2013 11:07 AM -
2 Votes
Change the database after creating the .edmx file
Double click on the .edmx file in solution explorer.Answered | 4 Replies | 22929 Views | Created by Jayanga - Wednesday, July 28, 2010 6:25 AM | Last reply by Markus3000 - Wednesday, August 2, 2017 2:50 PM -
0 Votes
Multiple EDMX files in different projects sharing entities
You can do this, but only in Code-First.Answered | 3 Replies | 1668 Views | Created by Kevin Grey - Tuesday, June 24, 2014 1:44 PM | Last reply by davidbaxterbrowne - Wednesday, June 25, 2014 1:59 PM -
2 Votes
How to Mock Database First approach EF5 in C# with Fakes/Nunit
Then make a question for that, This question states: How to Mock Database First approach EF5 in C# with ...Answered | 5 Replies | 3711 Views | Created by Venu545 - Monday, March 10, 2014 1:46 AM | Last reply by Mr. Javaman II - Monday, March 10, 2014 2:22 PM -
0 Votes
Conditional mapping in Fluent API
Hi, This is currently not possible, you would either need to add a view and map to that (if you are mapping to an existing database), or use the inheritance ...Answered | 3 Replies | 6358 Views | Created by Ladislav Mrnka - Tuesday, March 1, 2011 12:11 PM | Last reply by Rowan Miller - Wednesday, March 9, 2011 11:15 PM -
0 Votes
model dependency issues ...
You do not need to regenerate the model - the entity designer has an "update model from database" function that will pull in the new column for you.Answered | 1 Replies | 3364 Views | Created by Ravi_Tejas - Friday, April 23, 2010 5:37 AM | Last reply by Noam Ben-Ami - MSFT1 - Friday, April 23, 2010 4:07 PM -
0 Votes
WinRT and EDMX
I do not believe there is a Windows Store version of EDMX, but you can double check on the Entity Framework forums.Answered | 1 Replies | 1053 Views | Created by solardog - Tuesday, February 5, 2013 2:23 AM | Last reply by Rob Caplan [MSFT] - Tuesday, February 5, 2013 3:19 AM -
0 Votes
Mapping types not contained in an Entity
Mapping to the delete function only supports deleting one record at a time, and I'll need to use the function import to delete multiple records.Answered | 2 Replies | 3365 Views | Created by Mark Woodraska - Tuesday, December 16, 2008 5:24 PM | Last reply by wegwaws - Wednesday, December 17, 2008 2:33 PM -
2 Votes
Error 11009: Property is not mapped
Error 11009: Property name is not mapped .edmx 5935 model ?Answered | 5 Replies | 31621 Views | Created by amidoingthiswrongorwhat - Wednesday, January 5, 2011 4:00 PM | Last reply by Rahul Shakya - Monday, May 18, 2020 4:16 AM -
0 Votes
EF4.1 Code First: approach to adding child entities at the same time as the parent
Hello, first of all you should handle your FormFields initialization.Answered | 1 Replies | 4524 Views | Created by Jason B Steele - Friday, March 25, 2011 11:50 AM | Last reply by Ladislav Mrnka - Friday, March 25, 2011 1:47 PM -
1 Votes
XSD to edmx or Database?
So I guess the issue is I have an XSD file, and I'd love to get an EDM (.edmx) from that.Answered | 7 Replies | 19872 Views | Created by Colin S Cole - Thursday, December 3, 2009 11:48 PM | Last reply by ankurvsoni - Wednesday, August 1, 2012 12:04 AM -
2 Votes
Unable to place code first and model first contexts in the same assembly
It seems that Database first generated classes can work fine and Code First POCO classes cannot be found by EF.Answered | 4 Replies | 6604 Views | Created by Vagif Abilov - Monday, May 2, 2011 11:55 AM | Last reply by Michael Sun [MSFT] - Wednesday, May 4, 2011 5:03 AM -
2 Votes
change connection string without refreshing / updating the edmx
The mapping (of edmx objects and database table/view objects) needs to be done again, so it becomes like creating a new edmx file.Answered | 2 Replies | 3801 Views | Created by Bharti_P - Tuesday, December 20, 2011 8:16 AM | Last reply by Bharti_P - Wednesday, December 21, 2011 6:38 AM -
0 Votes
EDMX Generation
well, technically, you could write your own EDMX t4.Answered | 3 Replies | 1904 Views | Created by sanjibsmt - Monday, August 6, 2012 12:49 PM | Last reply by Sowen - Thursday, August 9, 2012 3:10 PM -
2 Votes
How to create a stored procedure with the model fist approach?
I'm afraid model first will not help you to create stored procedures in database.Answered | 1 Replies | 1376 Views | Created by Rainer Queck - Thursday, August 16, 2012 6:31 AM | Last reply by Allen_MSDN - Friday, August 17, 2012 1:49 AM -
0 Votes
How to generate edmx from custom metadata?
Add new .edmx file and choose empty model.Answered | 7 Replies | 4490 Views | Created by Barry Etter - Monday, January 10, 2011 8:27 PM | Last reply by wirol - Thursday, January 27, 2011 9:04 AM -
0 Votes
How to delete Tables from edmx file?
But you must edit the edmx and get rid of it there too, otherwise, if you want to put the table back on the model after you deleted in the IDE ...Answered | 4 Replies | 13200 Views | Created by Mehmood Ahmed - Wednesday, December 22, 2010 10:03 AM | Last reply by darnold92 - Thursday, December 23, 2010 2:47 PM -
1 Votes
Mapping multiple models in a ViewModel (MVC)
For MVC issue which belones to ASP.NET is off-topic in this forum.Answered | 4 Replies | 3957 Views | Created by battlFrog - Monday, October 8, 2012 10:55 PM | Last reply by Just Karl - Wednesday, January 15, 2014 3:31 PM -
4 Votes
Update Database From Model
Without an update feature preserving the data of the database the model-first approach isn't usable.Answered | 4 Replies | 5113 Views | Created by nicknickton - Saturday, June 19, 2010 5:17 PM | Last reply by KristoferA - Monday, December 6, 2010 9:47 AM
No announcements