New Post: Create MigrationSqlGenerator for PostgreSQL
I've disabled automatic migration and I created a new MigrationSqlGenerator for Postgresql: public Configuration() { AutomaticMigrationsEnabled = false; SetSqlGenerator("Npgsql", new...
View ArticleNew Post: Create MigrationSqlGenerator for PostgreSQL
Hi darionato,You override for Generate(InsertHistoryOperation) doesn't look quite right. Here's what it looks like for SQL Server:protectedvirtualvoid Generate(InsertHistoryOperation...
View ArticleNew Post: View generation speed
Thanks @Alireza! I came across that issue a while ago, but didn't have the time or understanding to fix it:...
View ArticleNew Post: Running a Migrations check on the Build Server
Hey guys,So, I was just thinking, we're going to be trying to make a build server on TeamCity and then using Continuous Integration push to Octopus Deploy so we can automate deployments, checks and...
View ArticleNew Post: ToListAsync doesn't return with await
Hi everybody,I have created a very simple test method to play with async methods of EF6 but this just doesn't work with await. I cannot get the exception if there is ever one here (in all honesty, I...
View ArticleNew Post: ToListAsync doesn't return with await
I'd like to help but I need a bit more information. you say it doesn't work... what is the behavior you are expecting to see, and what are you seeing instead. you never actually say what it does / is...
View ArticleNew Post: ToListAsync doesn't return with await
So the first one DOESN'T work (doesn't give you a print out of the hotel property names and the second one does, and you question is why doesn't the first on do so.Checkout this entry on...
View ArticleNew Post: MySql .Net connector and EF6
Hi, as it stands for now MySql .Net connector is supporting EF code first 4.3, so it doesn´t work with EF6 out of the box. One of my requirements is working with open source code as much as possible,...
View ArticleNew Post: Create MigrationSqlGenerator for PostgreSQL
Thank you so much Andrew for your replay.You can check out my edmx model from this link: https://dl.dropbox.com/u/6660682/model.edmxI change my InsertHistoryOperation method as yours. I noticed that...
View ArticleNew Post: View generation speed
Hi, the fix made by Alireza works like a charm view generation time is decreased in my case from 25 min to 2!Is there any chances to have an update of EF5 with those changes??Max
View ArticleNew Post: View generation speed
That's good news, I'm happy to hear that.I hope that other areas of code that affect startup time be treated as well. Currently, there are certain features of EF that make it very appealing in serious...
View ArticleNew Post: Automatically adding EntityTypeConfiguration
Here is a usability improvement I would be happy to contribute to EF, and I want to hear from the EF team what they think. Despite Code First having a convention system for configuration of the...
View ArticleNew Post:...
I would like to implement a default method on the HasDatabaseGeneratedOption.The recommended best practice on using Guids as a Primary Key is to use a NewSequentialId.What do you all think about first...
View ArticleNew Post: Automatically adding EntityTypeConfiguration
Thanks Unai for starting this discussion. We will discuss this in more detail in an upcoming design meeting, but I wanted to take note of some initial considerations, some of which Arthur and I...
View ArticleNew Post: Automatically adding EntityTypeConfiguration
Hi Diego,First, thanks for this quick response. I liked your comments and I'm waiting the discussion in the design meeting.ThanksUnai
View ArticleNew Post: MySql .Net connector and EF6
I know this doesn't address your questions, but what version of Connector/Net are you using? Because, this looks like a bug (Bug #65289) that was fixed in versions 6.4.6, 6.5.5 & 6.6.3.
View ArticleNew Post: Adding indexed fields from the designer
I've not seen any discussion about adding the ability to specify an indexed field in the Entity Framework Designer. How are others working around this deficiency?
View ArticleNew Post: MySql .Net connector and EF6
Thanks Brice, I´m working with 6.6.4. It´s not the same problem, I can create keys of string type, but EF6 creates _migrationhistory table with too long compound primary key (two fields are of string...
View ArticleNew Post: Query generation in batch insert scenarios
Hello Luke,I'm wondering if you have anything new to say about this. We regularly have to insert 1000+ rows on some tasks, and having this as an batch operation would speed up the process so much more.
View ArticleNew Post: Query generation in batch insert scenarios
Hey @SomebodyYouKnowI have been meaning to get a bit more traction on the improvements I've outlined in this tread but have been pretty busy lately so haven't had as much time to work on it as I would...
View Article