No announcements
Found 1386351 threads
-
0 Votes
EF6 CodeFirst enum mapping error: EntityCommandCompilationException (runtime)
The error occures when accessing the database with a simple context.Geschaeftsfall.ToList()Unanswered | 3 Replies | 3579 Views | Created by ThomasG - Tuesday, March 18, 2014 12:16 PM | Last reply by Fred Bao - Thursday, March 20, 2014 9:06 AM -
2 Votes
EF6 CodeFirst - Property in Class (Table) with Navigation to itself
Usually, EF does a very good job in discovering the necessary database mapping automatically and in-memory.Answered | 4 Replies | 775 Views | Created by NoFear23m - Saturday, December 20, 2014 4:35 PM | Last reply by NoFear23m - Sunday, December 21, 2014 7:46 PM -
0 Votes
EF6
> Why save changes is taking so much time in EF6 ?Answered | 2 Replies | 781 Views | Created by Mourian - Sunday, December 6, 2015 8:50 AM | Last reply by Zhanglong Wu - Tuesday, December 8, 2015 8:19 AM -
1 Votes
Map a table as an Enum
I feel a little confused since you want to map a table to an enum type.Answered | 6 Replies | 7552 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
Codefirst TPH mapping issue
public string CardType { get; set; } public int ExpiryMonth { get; set; } public int ExpiryYear { get; set; } } public class TPHContext : DbContext { public ...Answered | 7 Replies | 4737 Views | Created by VenkateshSrini_CHN - Monday, July 11, 2011 2:58 PM | Last reply by Alan_chen - Wednesday, July 13, 2011 6:43 AM -
0 Votes
setting custom attribute values on enum at runtime?
Attributes and Enum are compile time constants.Answered | 4 Replies | 7255 Views | Created by johnsontroye69 - Wednesday, November 11, 2009 9:41 PM | Last reply by gileslacy - Thursday, August 23, 2018 7:10 PM -
0 Votes
Can we map EF 4.3.1 codefirst to existing database?
Hi, Can we map EF 4.3.1 codefirst to existing database?Answered | 1 Replies | 4169 Views | Created by Mr.Weera PongPruchya - Thursday, July 19, 2012 5:14 AM | Last reply by Rowan Miller - Wednesday, August 1, 2012 8:01 PM -
0 Votes
EF CodeFirst
I tried a search here and didn't find anything, so I'll just ask: Does Juneau support EF's CodeFirst functionality?Answered | 3 Replies | 6143 Views | Created by Mike-E_wins - Friday, September 16, 2011 4:58 PM | Last reply by Mike-E_wins - Friday, September 16, 2011 6:03 PM -
2 Votes
How to map C++ struct and enum to C#
Try the code below struct _MY_INFO { UInt16 wPrgNo; char[] szTime1 = new char[20]; char[] szTime2 = new char[20]; ...Answered | 5 Replies | 6656 Views | Created by JupiterLee - Tuesday, November 27, 2012 8:38 AM | Last reply by Louis.fr - Tuesday, November 27, 2012 2:22 PM -
2 Votes
EF6 performance improvements?
Any Update on EF6 performance ?Answered | 11 Replies | 6051 Views | Created by Dane Vinson - Wednesday, September 25, 2013 11:11 PM | Last reply by Diego B Vega [MSFT] - Thursday, June 19, 2014 4:57 PM -
0 Votes
change from codefirst to database first
About the only thing you could really do is create a new folder/namespace in the VS project where the codefirst model resides for seperation.Answered | 1 Replies | 502 Views | Created by noJedi - Wednesday, April 15, 2015 4:14 PM | Last reply by DA924 - Wednesday, April 15, 2015 9:02 PM -
2 Votes
EF6: how to get query in case insensitive in EF6+npgsql?
our application uses EF6 and PostqreSQL (npgsql) database.Answered | 2 Replies | 8101 Views | Created by JJChen - Tuesday, June 30, 2015 9:21 PM | Last reply by Fred Bao - Wednesday, July 1, 2015 5:16 AM -
0 Votes
EF6 CodeFirst
Well, I once again tried to migrate my DD L2S template project to DD EF CodeFirst since heard a lot about that EF is a more advanced platform for working ...Answered | 8 Replies | 158 Views | Created by Anonymous - Thursday, April 2, 2015 8:27 AM | Last reply by Anonymous - Tuesday, April 7, 2015 4:39 AM -
1 Votes
Hierarchy mapping in Entity Framework Codefirst
If you're going to put things in databases then trying to directly map subtyping to a database will end in disaster.Answered | 1 Replies | 416 Views | Created by Vincent Dagpin - Friday, August 1, 2014 7:00 AM | Last reply by Andy ONeill - Friday, August 1, 2014 8:29 AM -
0 Votes
Codefirst !
I need some help in Codefirst.Answered | 1 Replies | 628 Views | Created by LingJingLing - Wednesday, October 21, 2015 3:29 PM | Last reply by MasaSam - Thursday, October 22, 2015 8:49 AM -
1 Votes
Java Enum Verses C# Enum
No it is not like a java enum.Answered | 1 Replies | 2819 Views | Created by Borneq - Thursday, December 15, 2011 9:12 PM | Last reply by OmegaMan - Monday, December 19, 2011 3:39 PM -
0 Votes
Enum statement in VBA
I was hoping that, if the computation in the macro goes astray and there is somewhere an attempt to assign to that variable a value outside of its permissible range of values, some kind of ...Answered | 4 Replies | 1221 Views | Created by nunof32 - Monday, February 13, 2017 5:17 PM | Last reply by nunof32 - Tuesday, February 14, 2017 3:55 PM -
2 Votes
Enum !
Since Enum is the base class of all Enums, it can't compare the specific subclasses since a super-class should never know about the sub-class implementations.Answered | 10 Replies | 4337 Views | Created by ellipsisware - Wednesday, April 13, 2011 6:21 PM | Last reply by James Michael Hare - Saturday, April 16, 2011 1:23 AM -
1 Votes
strange EntityCommandCompilationException occurrence
But when i try to get the Project with Sensors and Inverters i get an ...Answered | 4 Replies | 5205 Views | Created by Chris-84 - Tuesday, July 27, 2010 7:03 PM | Last reply by Chris-84 - Monday, August 23, 2010 4:51 PM -
0 Votes
Enum and TypeConverter
All code referencing this should use that one single enum.Answered | 6 Replies | 2168 Views | Created by MDMoura - Monday, November 12, 2012 5:28 PM | Last reply by Pieter Geerkens - Thursday, November 15, 2012 12:48 AM - Items 1 to 20 of 1386351 Next ›
No announcements