No announcements
Found 2273082 threads
-
0 Votes
EF code first with enum
Hi Jacob, Enum is supported from Microsoft release Entity Framework (EF) June 2011.Answered | 4 Replies | 2203 Views | Created by Jacob Wagner - Friday, December 7, 2012 7:53 PM | Last reply by Jacob Wagner - Monday, December 10, 2012 4:33 PM -
0 Votes
EF and Enums
You can write the code as below.Answered | 3 Replies | 3425 Views | Created by WRBehning - Tuesday, May 1, 2012 2:47 PM | Last reply by Shimmy Weitzhandler - Wednesday, May 2, 2012 10:48 AM -
1 Votes
MySQL And EF Code First CTP5
Hi, One thing to be aware of is that Code First uses DDL functionality to create databases that was only added to the EF provider model in .NET Framework ...Answered | 3 Replies | 8138 Views | Created by KassemD - Thursday, February 3, 2011 8:17 PM | Last reply by Devart team - Monday, February 7, 2011 3:20 PM -
0 Votes
CF EF CTP5 enums in model how to?
Ef didn´t support Enums This is the principal request for next version:Answered | 1 Replies | 4847 Views | Created by Kuvalda.Spb.Ru - Thursday, January 6, 2011 8:18 PM | Last reply by Felipe Fujiy Pessoto - Thursday, January 6, 2011 10:06 PM -
0 Votes
EF Code First with complex class structure
From my experience, it seems that ef doesn't support List<string>, which couldn't map to database.Answered | 1 Replies | 612 Views | Created by Jon 123 - Tuesday, May 24, 2016 11:19 AM | Last reply by Zhanglong Wu - Wednesday, May 25, 2016 2:55 PM -
6 Votes
EF 4.1 Code First and TPC Inheritance Mapping
My test shows that we can even delete this table from the schema and Code First will still work with it without any problem which is awesome, so this could be the ...Answered | 3 Replies | 8580 Views | Created by Morteza Manavi - Tuesday, April 19, 2011 9:10 PM | Last reply by Morteza Manavi - Thursday, April 21, 2011 2:05 AM -
0 Votes
EF Code First Custom Schema Mapping
Alan Chen[MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark ...Answered | 3 Replies | 4785 Views | Created by pretzelb - Friday, October 7, 2011 5:25 PM | Last reply by Alan_chen - Friday, October 14, 2011 1:36 AM -
0 Votes
EF Code First - Production, Test and Development Databases
Hi, EF Code First is great and it's nice to have the database created and seeded with default data whenever my model changes during developement.Answered | 2 Replies | 5689 Views | Created by jrad - Tuesday, March 8, 2011 12:18 PM | Last reply by jrad - Thursday, March 10, 2011 11:27 AM -
0 Votes
Exposing Code-First EF entites via DataServices
You can find it ...Answered | 2 Replies | 4902 Views | Created by Phil Cockfield - Sunday, July 18, 2010 8:43 PM | Last reply by Phil Cockfield - Tuesday, July 20, 2010 3:37 PM -
3 Votes
EF Code First with RIA Services / a difficult combination....
This is important because if you are doing database first and then using EF's reverse engineer wizard to generate the initial entities the virtuals will be in the generated entities ...Answered | 9 Replies | 4973 Views | Created by DoWorkAync - Tuesday, February 26, 2013 4:40 PM | Last reply by Colin Blair - Monday, March 4, 2013 9:25 PM -
2 Votes
Code-First EF hosted SqlAzure (not creating tables)
There are a couple of things to be aware of if you want Code First to create the database: The login needs access to the master ...Answered | 6 Replies | 8868 Views | Created by Phil Cockfield - Sunday, July 18, 2010 7:32 PM | Last reply by Rowan Miller - Friday, February 4, 2011 9:48 PM -
0 Votes
EF 4.1 Code First with Oracle Database
Code First will work, I done some simple testing.Answered | 4 Replies | 17352 Views | Created by rsknowles - Tuesday, April 5, 2011 3:52 PM | Last reply by Paul Ramsperger - Monday, April 25, 2011 8:27 PM -
0 Votes
EF code first for existing db and model class
> When we work with EF code first with existing db then we have to write c# class which represent db table.Answered | 1 Replies | 363 Views | Created by Sudip_inn - Sunday, December 10, 2017 4:28 PM | Last reply by Bob Ding - Monday, December 11, 2017 11:54 AM -
0 Votes
EF Code First and custom Validation Attributes
Hi there, I am building a project that uses EF Code First CTP 5 with POCO classes and MVC3.Answered | 5 Replies | 6616 Views | Created by ImarSpaanjaars - Thursday, January 20, 2011 10:10 PM | Last reply by Rowan Miller - Wednesday, February 23, 2011 10:32 PM -
0 Votes
Help Mapping EF Code First to an Existing Database
If the database has exist and you want to use poco classes, you needn't to work with code first.Answered | 2 Replies | 3462 Views | Created by lmttag - Thursday, August 23, 2012 3:52 PM | Last reply by Allen Li - Coding4Fun - Monday, August 27, 2012 9:13 AM -
1 Votes
EF "Code Smells" Question
I'm a fan of Ef and want to use it but I'm not necessarily a fan of how associations work per-se.Answered | 1 Replies | 3606 Views | Created by James Alexander - Monday, August 24, 2009 3:19 PM | Last reply by Ido Flatow. _ - Monday, August 24, 2009 5:40 PM -
0 Votes
How to set the ProviderManifestToken with EF Code First?
My problem is that I would like to manually force the ProviderManifestToken value to 2005 so I can guarentee my code works fine in both environments.Answered | 1 Replies | 4141 Views | Created by Murphy - Monday, June 25, 2012 8:51 PM | Last reply by Allen_MSDN - Wednesday, June 27, 2012 6:11 AM -
1 Votes
Mapping exclusive-or relationship with EF code-first
Is there any way to avoid the boilerplate Order model code for property setters?Answered | 5 Replies | 6223 Views | Created by dfoukas - Thursday, December 2, 2010 4:09 PM | Last reply by dfoukas - Monday, December 20, 2010 4:16 PM -
0 Votes
Is EF Code First full supported on Windows Azure?
Microsoft One Code FrameworkAnswered | 1 Replies | 5417 Views | Created by Novak Savic - Monday, April 2, 2012 10:28 PM | Last reply by MingXu-MSFT - Wednesday, April 4, 2012 2:49 PM -
0 Votes
EF 4 Code First - Help with model design
Please check the following code: public class Account { public Int32 AccountID { get; set; } ...Answered | 1 Replies | 1003 Views | Created by VivekRajR - Sunday, January 6, 2013 8:17 AM | Last reply by Alexander Sun - Monday, January 7, 2013 7:41 AM - Items 1 to 20 of 2273082 Next ›
No announcements