New Post: cannot open power tools project
The project was also referencing the wrong version of an assembly. I have fixed this with commit 7b6e0faa0f67.
View ArticleNew Post: Query generation in batch insert scenarios
Yesterday I made the first commit to the fork with some initial prototyping of the provider API for batching: public class DbBatchCommand : IDisposable { public virtual DbTransaction Transaction {...
View ArticleNew Post: nuget feed from the source?
Hey all, Can we reduce the friction to trying out new builds from source? The aspnetwebstack has a nightly build that pushes the nuget packages to a MyGet.org feed. This removes the friction to try...
View ArticleNew Post: Where's the source for Microsoft.Data.Edm?
I'm currently trying to read an edmx from the CRM 2011 ODATA endpoint metadata and I'm getting the following error: The namespace 'http://schemas.microsoft.com/ado/2007/06/edmx' is invalid. The root...
View ArticleNew Post: Where's the source for Microsoft.Data.Edm?
Ok, looks like I have to read a different section of the edmx, just the Schema in Edmx\DataServices... So the code is now: static void Main(string[] args) { var edmx = @"Service...
View ArticleNew Post: Where's the source for Microsoft.Data.Edm?
This works: var success = Microsoft.Data.Edm.Csdl.EdmxReader.TryParse(reader, out model, out errors);
View ArticleNew Post: nuget feed from the source?
Hi Eric, We will be rolling this out very soon - likely next week. Cheers, Andrew.
View ArticleNew Post: Creating custom attributes and acting on them in migrations
Hi , Pretty new to codeplex and the EF code but looking through and once of the first things I'd like to do is being able to add a few attributes that I can use on code first entities and hopefully...
View ArticleNew Post: separate a assembly for migrations
Is it possible to create migrations in the different project from where contexts are defined? I though that what -ProjectName and -StartUpProjectName are for. I tried running enable-migrations command...
View ArticleNew Post: remap table in design
Hi, I have a project with several branches opened and with several versions of the database. Sometimes happens that i connect the branch to the wrong database, and updating the edmx model...
View ArticleNew Post: Enum mapping to external type
Is it just me or does this not seem to work? In model first i dragged in a simple table and created and enum (via convert to enum). Now i've tried with and wothout creating the enum items in the...
View ArticleNew Post: Migration enhancements
How do you use these migrations to create a new database? I generate migration classes and tried running the following commands: var configuration = new EFMigration.Migrations.Cars.Configuration();...
View ArticleNew Post: nuget feed from the source?
Done: http://blogs.msdn.com/b/adonet/archive/2012/09/17/ef-nightly-builds-available.aspx
View ArticleNew Post: Simple Type Mapping
In my application I have to support both Sql Server and DB2.. The main headache is that DB2 does not have a native Boolean type. (I am using DB2 9.7.5) I can get around it by using a 'smallint' and...
View ArticleNew Post: Enum mapping to external type
Hi cedricbrasey, Could you provide some more details: What VS version are you using? Where did you drag this table from? What is the type of the property that you are trying to convert to enum? Where...
View ArticleNew Post: Enum mapping to external type
I assume you are using POCO (the default in VS2012). Make sure that type names (without namespaces) are the same. Make sure underlying types are the same. Remove all the properties in the EDM Enum type...
View ArticleNew Post: Query generation in batch insert scenarios
Hey Andriy I've just been taking a look through the EF source to try and understand how SaveChanges fits together, I'm especially looking to understand at what point the batching stuff is hooked into...
View ArticleNew Post: Deployment Process for ASP MVC application
Hi, I'm building ASP MVC application with .NET 4.0 (because the hosting provider support 4.0 but not yet 4.5). I'm using EF 4.4 with Code First and Database Migrations. Currently I'm using a database...
View ArticleNew Post: View generation speed
Hi. The view generation takes a long time. In out project we have just 300 entities and already 80 seconds on a powerful system. Also, it just uses one cpu, which is not a surprise for a very complex...
View Article