No announcements
Found 1948831 threads
-
0 Votes
Converting from EDMX model to Code First?
My ideal goal is to keep my EDMX file so I can use it to model the database and keep it in sync with DB changes, and have the Code First model ...Answered | 17 Replies | 20771 Views | Created by Kendall J Bennett - Friday, June 24, 2011 2:20 AM | Last reply by MEhran.NET1.0 - Monday, August 5, 2013 9:56 AM -
0 Votes
Map custom model to an existing database
The problem is that you are using the "Model First" approach with an already existing database.Answered | 9 Replies | 4286 Views | Created by David A Nelson - Friday, September 24, 2010 10:09 PM | Last reply by Eclecguy - Tuesday, April 5, 2011 8:28 PM -
0 Votes
EDMX and DbContext?
Hi Terrence, It is possible but a little messy in CTP4; class Program { static void Main(string[] args) { var builder ...Answered | 3 Replies | 7470 Views | Created by Terrence_ - Wednesday, November 10, 2010 4:28 PM | Last reply by Rowan Miller - Thursday, November 18, 2010 7:22 PM -
0 Votes
model-first mapping?
Take a look to the following ...Answered | 2 Replies | 2922 Views | Created by Chris-von-der-Wiese - Sunday, October 3, 2010 6:04 PM | Last reply by Chris-von-der-Wiese - Monday, October 4, 2010 1:31 PM -
0 Votes
Missing edmx file
Code first approach, you could delete all model files and context file, and then create model again.Answered | 4 Replies | 3996 Views | Created by MarcinMR - Monday, February 22, 2016 9:11 PM | Last reply by Zhanglong Wu - Tuesday, February 23, 2016 4:28 AM -
0 Votes
Mapping issue in EDMX, Model First Approach
User-240513752 posted I have no issue now, I developed the project from scratch again, in that i create the model and their associations between the tables.. later ...Answered | 2 Replies | 129 Views | Created by Anonymous - Wednesday, March 25, 2020 12:38 PM | Last reply by Anonymous - Wednesday, March 25, 2020 3:20 PM -
20 Votes
Refreshing .edmx Model did not update model classes
Is there a way to declare the .tt files to depend on the EDMX file so that the custom tool (Transform All T4 Templates) is automatically run whenever the EDMX ...Answered | 15 Replies | 68298 Views | Created by Alex Teslin - Friday, July 19, 2013 2:21 PM | Last reply by Crakdkorn - Tuesday, July 23, 2019 12:05 AM -
0 Votes
Mapping EDMX to XML File instead of Database
EDMX transfromation and at run time the EDMX should be populated from XML file and note database tables.Answered | 5 Replies | 6135 Views | Created by Mustafa Al-Durra - SoftHealth Inc - Saturday, August 14, 2010 3:35 PM | Last reply by Mustafa Al-Durra - SoftHealth Inc - Saturday, August 28, 2010 6:34 PM -
0 Votes
Split EDMX into multiple EDMXs
Hi Simon, I am writing to check the status of the issue on your side.Answered | 2 Replies | 4512 Views | Created by Simon Hazelgrove - Thursday, March 24, 2011 6:17 AM | Last reply by Alan_chen - Tuesday, March 29, 2011 2:42 PM -
0 Votes
Bug in "Generate Database From Model" after manual edit of .edmx?
Hi, When you use the designer you are only editing the CSDL (conceptual schema) part of the model.Answered | 1 Replies | 3397 Views | Created by Krassi Valev - Friday, April 23, 2010 1:20 PM | Last reply by Gil Fink - Friday, April 23, 2010 2:40 PM -
0 Votes
Splitting one large EDMX into Multiple Models
I'm a bit confused - you should have two contexts here, one for each EDMX file.Answered | 1 Replies | 4450 Views | Created by RezRaider - Friday, December 19, 2008 2:01 PM | Last reply by Noam Ben-Ami - MSFT1 - Friday, December 19, 2008 8:50 PM -
14 Votes
EDMX Loading problem / diagnosis
It was a edmx model which I have made a lot of changes to in the past 12 months, and I really didn't want to go down the path of recreating it from scratch.Answered | 35 Replies | 18641 Views | Created by Roland Sutton - Tuesday, May 20, 2008 8:35 AM | Last reply by Suncat2000 - Thursday, March 26, 2020 9:59 PM -
0 Votes
Code-First AND Model-First
TESTSEFEntities for model first.Answered | 3 Replies | 2864 Views | Created by thierry schmit - Friday, August 12, 2011 4:51 PM | Last reply by thierry schmit - Friday, August 12, 2011 5:22 PM -
0 Votes
mapping collections of components with code first and the fluent API
Yes, i've noticed those problems too...unfortunately, it seems like EF is still not quite ready for real world domain modelling.Answered | 2 Replies | 3621 Views | Created by Luis Miguel Abreu - Tuesday, May 10, 2011 10:20 AM | Last reply by Luis Miguel Abreu - Wednesday, May 11, 2011 8:33 AM -
0 Votes
edmx, T4 template or POCO?
In my opinion, the edmx stands for database first and model first, and POCO mostly means code first.Answered | 1 Replies | 4707 Views | Created by emil_tr - Monday, April 25, 2011 3:21 PM | Last reply by Jackie-Sun - Tuesday, April 26, 2011 5:53 AM -
1 Votes
How to prevent model first from looking for pluralized entity names
Not sure why but I have singular table in the DB, mapped to its singular name, I have added the code above to the OnModelCreating and it STILL pluralizes during the read.Answered | 5 Replies | 2082 Views | Created by dharric72 - Wednesday, May 1, 2013 11:26 PM | Last reply by David Brenchley - Thursday, April 24, 2014 4:30 PM -
0 Votes
How to deploy EDMX file to server?
Ok I've figured my mistake, I hadn't registered all item collections, only the mapping.Answered | 15 Replies | 9607 Views | Created by John Codewriter - Saturday, March 15, 2008 5:46 PM | Last reply by KSmartHome - Tuesday, September 15, 2009 10:34 AM -
0 Votes
Entityframework database first edmx changes not affected in tfs
When edited your edmx file and checked it into TFS Source Control, which changeset be generated for this pending changes?Answered | 2 Replies | 1309 Views | Created by Jeevan90 - Tuesday, February 23, 2016 4:16 AM | Last reply by John Qiao - Wednesday, February 24, 2016 7:24 AM -
0 Votes
EDMX class and Partial class
We are having an app which contains list of EDMX class and each EDMX class has partial class.Answered | 3 Replies | 1386 Views | Created by Sugumar Pannerselvam - Thursday, March 12, 2015 2:04 AM | Last reply by darnold924 - Friday, March 13, 2015 4:09 PM -
1 Votes
Update Model from Database not working
The issue is that deleted table columns aren't removed from the model with "update from database".Answered | 4 Replies | 21485 Views | Created by HTHP - Friday, July 8, 2016 11:23 PM | Last reply by CostasZ - Wednesday, June 12, 2019 2:38 PM - Items 1 to 20 of 1948831 Next ›
No announcements