No announcements
Found 1856339 threads
-
0 Votes
EF code first with enum
Hi Jacob, Enum is supported from Microsoft release Entity Framework (EF) June 2011.Answered | 4 Replies | 2045 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
What you should do is create a Flags enum, then store the numeric value in the database, here as an example: [Flags] enum ...Answered | 3 Replies | 3299 Views | Created by WRBehning - Tuesday, May 1, 2012 2:47 PM | Last reply by Shimmy Weitzhandler - Wednesday, May 2, 2012 10:48 AM -
0 Votes
EF 6: Database First - Enum/Lookup Tables
A common approach seems to be generating enum classes using T4 ...Discussion | 3 Replies | 3730 Views | Created by Keith_d99 - Monday, March 31, 2014 4:15 PM | Last reply by Keith_d99 - Tuesday, April 1, 2014 9:23 AM -
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 ...Answered | 1 Replies | 2120 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
CF EF CTP5 enums in model how to?
Ef didn´t support Enums This is the principal request for next version:Answered | 1 Replies | 4705 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
Elastic database library with database first EF
I am not an expert on EF, so can't help with detailed questions, but yes, you can use elastic database client library with EF.Answered | 1 Replies | 686 Views | Created by EpsilonStar - Wednesday, May 31, 2017 4:00 AM | Last reply by Bill Gibson MSFT - Wednesday, May 31, 2017 6:30 PM -
1 Votes
Does EF 6 Allow for Primary Key Updates
To elaborate on the issue just a bit more, the tables in question are lookup-tables (as opposed to transaction or fact tables) ...Answered | 5 Replies | 1294 Views | Created by Jim Lutterbach - Sunday, February 23, 2014 2:14 AM | Last reply by Jim Lutterbach - Thursday, February 27, 2014 4:23 AM -
0 Votes
EF Code first: Mapping of entities to existing database with relationship table
I got almost the same answer here, ...Answered | 3 Replies | 8500 Views | Created by Per Dahl - Sunday, April 17, 2011 9:41 PM | Last reply by Per Dahl - Monday, April 18, 2011 8:24 PM -
1 Votes
How to achieve a lookup on either the first 5 or 6 digits of a number
Now Use Lookup and perform lookup of MCCMNC first with column_1 and use option to re-direct row in case of Lookup ...Answered | 5 Replies | 2759 Views | Created by ASAASA - Tuesday, September 20, 2011 9:12 AM | Last reply by ASAASA - Thursday, September 22, 2011 6:37 AM -
0 Votes
New to EF - Database First
I knew that I could go down the SP route, but was looking to use linq with EF standard table mapping.Answered | 7 Replies | 984 Views | Created by Keith_d99 - Thursday, January 2, 2014 1:23 PM | Last reply by Fred Bao - Friday, January 10, 2014 9:18 AM -
1 Votes
Map a table as an Enum
Do you actually want to map a column in a table to enum type?Answered | 6 Replies | 7407 Views | Created by Saulo Eduardo - Friday, April 30, 2010 10:41 PM | Last reply by Mario Blataric - Tuesday, September 20, 2011 9:45 AM -
0 Votes
Lookup Values From Database Tables
Answered | 3 Replies | 1711 Views | Created by omar_awwad - Sunday, December 9, 2012 12:05 AM | Last reply by Angie Xu - Thursday, December 20, 2012 12:54 AM -
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 | 3333 Views | Created by lmttag - Thursday, August 23, 2012 3:52 PM | Last reply by Allen Li - Coding4Fun - Monday, August 27, 2012 9:13 AM -
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 | 8728 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 v4 - Questions - EntityColection, Lookup Tables, Projection, SP mapping
To return multiple lookup tables, I created a custom DTO object that exposes a property for every lookup table that I want to return.Answered | 3 Replies | 4924 Views | Created by Garry English - Monday, March 29, 2010 10:02 AM | Last reply by Garry English - Tuesday, April 6, 2010 2:23 AM -
6 Votes
Localize lookup tables
Fortunately, my database does not have a lot of lookup tables.Answered | 18 Replies | 2810 Views | Created by MDMoura - Thursday, September 11, 2014 1:36 PM | Last reply by MDMoura - Monday, September 15, 2014 1:52 PM -
0 Votes
EF 4.1 Code First with Oracle Database
No database generation, but mapping to an existing database was not a problem.Answered | 4 Replies | 17170 Views | Created by rsknowles - Tuesday, April 5, 2011 3:52 PM | Last reply by Paul Ramsperger - Monday, April 25, 2011 8:27 PM -
1 Votes
Advice on caching EF related lookup tables in local SQL CE cache
For attaching and detaching objects in EF, please see http://msdn.microsoft.com/en-us/library/bb896271.aspx.Answered | 2 Replies | 4269 Views | Created by Scott Cropley - Wednesday, August 11, 2010 2:37 PM | Last reply by Michael Sun [MSFT] - Monday, August 16, 2010 1:48 AM -
0 Votes
EF Code First - Production, Test and Development Databases
I'm going to do it the other way round for fail safety - the Test person or Developer has to add a config item to enable database changing.Answered | 2 Replies | 5591 Views | Created by jrad - Tuesday, March 8, 2011 12:18 PM | Last reply by jrad - Thursday, March 10, 2011 11:27 AM -
2 Votes
EF converts table to association
6-2.Answered | 7 Replies | 6317 Views | Created by Freeker47 - Tuesday, July 20, 2010 9:00 AM | Last reply by Ciget - Thursday, March 24, 2011 6:08 PM - Items 1 to 20 of 1856339 Next ›
No announcements