No announcements
Found 1398050 threads
-
1 Votes
Map complex type per entity with EF 4.1 fluent API
Hi Ladislav, You can also customize the complex type columns names at the entity level with fluent API in EF 4.1.Answered | 1 Replies | 5692 Views | Created by Ladislav Mrnka - Thursday, March 24, 2011 10:08 AM | Last reply by Morteza Manavi - Thursday, March 24, 2011 2:58 PM -
0 Votes
Conditional mapping in Fluent API
Hello, I'm not looking for Inheritance mapping, I'm looking for conditional mapping possible in EDMX.Answered | 3 Replies | 6501 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
Mapping a stored procedure to an entity that contains complex types
Now that EF 4.1 has been finally released, has this issue been resolved or are there any workaround or hooks where I can manually materialize the query results into entity ...Answered | 4 Replies | 6299 Views | Created by Pando - HM - Saturday, May 1, 2010 12:32 AM | Last reply by Mainak Sarcar - Wednesday, June 22, 2011 5:55 AM -
2 Votes
EF 4.1 Code First - what is the equivalent of [NotMapped] in fluent API?
I have this code (generated by EF power tools, by the way): protected override void OnModelCreating(DbModelBuilder modelBuilder) { ...Answered | 4 Replies | 22507 Views | Created by Stan B - Monday, August 1, 2011 3:42 PM | Last reply by Joel Weiss - Tuesday, May 8, 2012 9:23 PM -
0 Votes
Entity Framework 4.1 Attriute to fluent API
EF team has released a power tool, it could generate Fluent API easily.Answered | 3 Replies | 6431 Views | Created by Fausto Scardovi - Tuesday, May 17, 2011 4:44 PM | Last reply by Alan_chen - Tuesday, May 31, 2011 2:59 AM -
6 Votes
EF 4.1 Code First and TPC Inheritance Mapping
Hi Morteza and Miguel, What you are describing seems to match a an issue we found very late in EF 4.1 RTW cycle and we decided to postpone because our ...Answered | 3 Replies | 8666 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 4.0 vs EF 4.1(ObjectContext vs DbContext) what are advantage and disadvantage?
Hi Mr.Weera PongPruchya; From the ADO.NET team blog :Answered | 1 Replies | 3382 Views | Created by Mr.Weera PongPruchya - Tuesday, December 27, 2011 3:51 PM | Last reply by Fernando Soto - MCSD - Tuesday, December 27, 2011 4:30 PM -
0 Votes
EF 4.1 Code First - don't like mapping attributes
Fluent API does the job nicely.Answered | 5 Replies | 4496 Views | Created by Stan B - Friday, May 20, 2011 5:37 PM | Last reply by Stan B - Thursday, June 2, 2011 5:15 PM -
2 Votes
EF 4.1 RC Custom Mapping
That's a lot of fluent mapping.Answered | 5 Replies | 5126 Views | Created by Marty Spallone - Monday, April 4, 2011 7:17 PM | Last reply by David DeWinter - MSFT - Wednesday, April 13, 2011 2:47 PM -
0 Votes
EF 4.1 Fluent API - Add entity to database where table doesn’t exist DB
That way EF will create the database for you.Answered | 2 Replies | 2816 Views | Created by jminarik - Tuesday, October 25, 2011 7:57 AM | Last reply by Alan_chen - Monday, October 31, 2011 2:13 AM -
0 Votes
EF 4.1 Capabilities
Hi, The main purpose of EF is to expose data as strongly typed classes.Answered | 3 Replies | 4158 Views | Created by Mark Coull - Sunday, March 20, 2011 11:14 PM | Last reply by Mark Coull - Tuesday, March 22, 2011 11:39 PM -
0 Votes
Bug in EF 4.1 DatabaseGeneratedOption.Computed?
I am able to save data with a computed column computing values based on formula I specified and EF does not give any problems saving/updating this entity.Answered | 8 Replies | 18520 Views | Created by Ladislav Mrnka - Saturday, March 26, 2011 11:00 PM | Last reply by Vasim - Sunday, August 12, 2012 6:13 AM -
0 Votes
EF 4.1 Validation Question
To determine if EF will provide extra validation can you describe what validation is currently performed in your POCO-classes?Answered | 4 Replies | 4794 Views | Created by Guy Dillen - Monday, March 21, 2011 11:21 AM | Last reply by Andriy Svyryd - Wednesday, March 23, 2011 6:12 PM -
0 Votes
Fluent API "This Topic Is No Longer Available"
The msdn.com/data/ef site is now the main location for the Entity Framework content.Answered | 1 Replies | 2244 Views | Created by Confederatio Helvetica - Wednesday, August 15, 2012 4:30 PM | Last reply by Alexander Sun - Friday, August 17, 2012 7:06 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 | 8719 Views | Created by Per Dahl - Sunday, April 17, 2011 9:41 PM | Last reply by Per Dahl - Monday, April 18, 2011 8:24 PM -
0 Votes
EF 4.1 & TPC inheritance
In other words, in TPC mapping you always have to keep the foreign key outside of the inheritance hierarchy or you have to change your strategy to TPH or ...Answered | 6 Replies | 5577 Views | Created by Miguel Fernández Corral - Thursday, April 14, 2011 7:34 PM | Last reply by Miguel Fernández Corral - Thursday, April 21, 2011 4:49 AM -
1 Votes
EF 4.1 TPT Bug?
I was pulling my hair out after upgrading to EF 4.1 RC and running into the same issue with my TPT configuration.Answered | 4 Replies | 5809 Views | Created by Rick Langel - Friday, March 18, 2011 5:10 PM | Last reply by PinkFloyd - Saturday, March 26, 2011 6:56 PM -
0 Votes
EF 4.1 Code First Question
Analogy with 1 repository per aggregate root.Answered | 6 Replies | 5582 Views | Created by Guy Dillen - Monday, March 21, 2011 6:44 PM | Last reply by Andriy Svyryd - Thursday, March 24, 2011 6:34 PM -
0 Votes
EF 4.1 RC1: How to Define Attribute Conventions?
In the meantime, I adapted the DbContext subclass published at the link below to accomplish what I wanted to ...Answered | 2 Replies | 7834 Views | Created by Chris Thoman - Monday, April 4, 2011 3:38 AM | Last reply by Chris Thoman - Friday, April 22, 2011 1:33 AM -
0 Votes
CTP5 Fluent API TPH and Vb.Net
Hi, You need to use 'Sub(m)' rather than 'Function(m)' in the mapping fragments because the configuration does not return a value; modelBuilder.Entity(Of ...Answered | 1 Replies | 4777 Views | Created by a080 - Thursday, December 9, 2010 7:33 PM | Last reply by Rowan Miller - Friday, December 10, 2010 12:41 AM - Items 1 to 20 of 1398050 Next ›
No announcements