Created Issue: Additional testing for DbEntityValidationResult [433]
From code: #region DbEntityValidationResult tests [Fact] public void DbEntityValidationResult_IsValid_true_if_no_validation_errors_occurred() { Assert.True( new DbEntityValidationResult( new...
View ArticleCreated Issue: Additional testing for Migrations [434]
[MigrationsTheory] // TODO: Can't handle this yet (table rebuild) public void Can_change_column_to_identity_column_when_no_data_present() { ResetDatabase(); var migrator =...
View ArticleCreated Issue: Update CE provider to use public types from EF assembly [435]
Make the types public first if it makes sense.From code: internal static bool IsUnboundedFacetValue(Facet facet) { // TODO: vamshikb // Use return object.ReferenceEquals(facet.Value,...
View ArticleEdited Feature: SqlCe: Allow mapping to INFORMATION_SCHEMA [404]
Currently, the SQL CE provider ignores any schema values that get passed to it. This is because SQL CE does not support schemas. There is however one special, built-in schema named INFORMATION_SCHEMA....
View ArticleCreated Issue: Pre-generated views should be generated as an embeded resource...
The tools to create pre-generated views at design time currently emit C#/VB files with the views as Entity SQL queries in strings. Several customers with very large models have hit compiler limits on...
View ArticleCreated Issue: Remove exception for server generated GUIDs from CE provider...
See code snippet below. The Dev10 bug (845968) is apparently fixed so it should be possible to now fix this code. Let's give it a shot! // VSTS Bug ID: 845968 // Throw an exception if key member is of...
View ArticleEdited Issue: Consider consolidating calls to LoadSchemaElement [423]
From code in StructuredProperty.cs: // TODO: it's odd that the client also has to call LoadSchemaElement. We should investigate what it would take to make this the sole client of LoadSchemaElement...
View ArticleEdited Issue: EntityPropertyIsModified could be more efficient now that core...
Current code in InternalEntityPropertyEntry: public override bool EntityPropertyIsModified() { // TODO: Change this to be more efficient when we are integrated with core EF return...
View ArticleEdited Issue: EdmEquals in MetadataItem does not ensure that both types are...
There were TODOs in the code around this. The chances of the types coming from different workspaces are not very high such that it probably isn't worth implementing this check.
View ArticleCreated Issue: Consolidate enumerations for schema versions [438]
Currently we haveCore\Metadata\XmlConstants.csEdm\Common\DataModelVersions.cswhich we should be able to consolidate.We also have versions in the ttinclude which we may be able to not use, but that...
View ArticleCreated Issue: Double-check that semantics left.Equal(right).Not() is correct...
The following code is in SemanticAnalyzer. It seems that we don't want to change the semantics here but this bug is to double check that, builtInExprConverter.Add( BuiltInKind.NotEqual,...
View ArticleSource code checked in, #ac0613c6a154
TodoOrNotTodoThatIsTheQuestion (Cleanup TODOs in code) TODO's are only left in the code for things that are currently in a state of transition--providers, config, async, etc. Other TODO's have either...
View ArticleNew Post: Complex type as ID
I don't see any direct porblems with it, my main concern is typesafety in the domain model and if it solves that its all fine from my POV. Would it still be a real EF complex type one specifies as the...
View ArticleNew Post: Complex type as ID
"Would it still be a real EF complex type one specifies as the type on the property in such case?" That's a good question to which I don't know the answer. We haven't done much more than conceptual...
View ArticleNew Post: Resource based Pre-Generated Views
What is the reasoning for having the CompressingHashBuilder internal and not public? I can use the ComputeHash static function on the StringHashBuilder but not sure how much memory that will chew up...
View ArticleNew Comment on "Documentation"
The build should be done in the "VS2012 x86 Native Tools Command Prompt". The other command prompt options installed with VS2012 won't match the configuration in the project fails and give an error:...
View ArticleSource code checked in, #fb0c322c2eb3
ItsNotElementaryMyDearConfig (Configuration type specified by XML attribute instead of element.) This changes makes the DbConfiguration type name an XML attribute of the entity framework element in the...
View ArticleSource code checked in, #5cdff8c98924
LetYourFeetBreathe (Stop throwing if DbConfiguration type is not found in same assembly as context type) This change removes one of the foot protection checks that helps make sure that configuration is...
View ArticleCommented Feature: Migrations: -Script for Migrate.exe [251]
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-released.aspx#10301435Marcel Bradea 05-05-2012 1:09 PM#I noticed the migrate.exe command line tool does not have a "-script" equivalent of the...
View ArticleCommented Feature: Code First: Allow indexes to be specified using...
"Problem Description:I'm looking forward to [StoreIgnore] attribute in EF 4 CTP 5. I would like to see a way to create index in table. Something like: [Indexed(Unique=false,Clustered=false)] int A {...
View Article