Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: Reverse Engineer Code First doesn't escape database name to be used as container name [366]

$
0
0
http://blogs.msdn.com/b/adonet/archive/2012/04/09/ef-power-tools-beta-2-available.aspx#10327681

I used the Reverse Engineer Code First option applied to a SQL Server Express file and that works fine (really nice!) but when I use it applied to a Compact Edition file (both 3.5 and 4.0) I got the following exception:

System.ArgumentException: The modelEntityContainerName parameter '......\..sdfContext' contains characters that are not valid.

at System.Data.Entity.Design.EntityModelSchemaGenerator..ctor(EntityContainer storeEntityContainer, String namespaceName, String modelEntityContainerName)

at Microsoft.DbContextPackage.Handlers.ReverseEngineerCodeFirstHandler.ReverseEngineerCodeFirst(Project project)
Comments: Looks like a duplicate of http://entityframework.codeplex.com/workitem/898

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>