New Post: EF6 Breaks My Build Server
I am getting same error but I could not resolve too.
View ArticleNew Post: EF6 Breaks My Build Server
If the EntityFramework assembly cannot be located that can explain all the other errors, but I am not sure why it wouldn't be located though. In any case, besides enabling package restore on your...
View ArticleNew Post: Support for unsigned types in PKs / FKs
Hi, I was trying to add support for unsigned types for PKs / FKs for the Entity Framework 6 provider of MySql Connector/NET. This seems to be unsupported by Entity Framework itself. My sample test case...
View ArticleNew Post: Add support for configuring DbProviderServices instance.
Currently there is no possibility to configure DbProviderServices for creating databases. For example, in Firebird provider, by default, there is no auto-increment PK fields and there is no support to...
View ArticleNew Post: Using non-standerd Foreign Key navigation property
I just finished watching your video from TechEd this year (it was pretty great by the way),and that got me looking into the command tree interceptors. I was able to modify the command tree so that the...
View ArticleNew Post: Order of conventions applied via AddFromAssembly
When adding custom conventions through modelbuilder.Conventions.Add, you can control the order in which the conventions are applied. When adding them with AddFromAssembly, I don't know how you could do...
View ArticleNew Post: Order of conventions applied via AddFromAssembly
@jlerman Yes, use Add when the order is important and/or you don't necessary want to add all conventions in the assembly.
View ArticleNew Post: Order of conventions applied via AddFromAssembly
gracias. Will share that guidance.
View ArticleNew Post: Issue 1043-Efficient API to ask if there are pending changes on a...
Even though HasChanges is fast, we are calling it to determine if buttons on the UI should be enabled or not in WPF CanExecute relay command. What is wrong with a HasChangesChanging event? (or whatever...
View ArticleNew Post: Multi-Tenant With Code First
This was a nice approach. I tried it and it is the cleanest one I saw till now. Anyway, there is a problem if you want to use the same aproach on the identity context (ApplicationDbContext). I tried...
View ArticleNew Post: Defining entities at runtime - AddEntitySetBase is internal
For the current project I am working on, I require the ability to define entities at runtime (within IConceptualModelConvention and IStoreModelConvention implementations). It seems like I am able to...
View ArticleNew Post: Defining entities at runtime - AddEntitySetBase is internal
Currently I'm using reflection to invoke the method like so:private static Action<EntityContainer, EntitySetBase> BuildAddEntitySetBaseDelegate() { var entityContainerType = typeof...
View ArticleNew Post: Extend MetadataWorkspace EntityType
Hi, Is there any way to extend this metadata class with aditional information such as custom data annotations, index data, etc? If not, how can i cache this metadata per db type? Thanks a lot
View ArticleNew Post: migrations problems using not startup project
Hi all, In the last days/weeks I experienced a strange problem trying to Running migrations in an azure websites. I have a mobile services Solutions and I added a universal app project,, using vs 2013...
View ArticleNew Post: Multi-Tenant With Code First
Hi HussamBergen, there is no magic anywhere and I am using this approach with the ASP.NET Identity DbContext! But funnily enough just some days ago I made the same mistake on another DbContext. You are...
View ArticleNew Post: Multi-Tenant With Code First
zam6ak wrote: Additional question: How to handle "__MigrationHistory" table? Should each schema have its own migration history? Hi zam6ak, sorry for the late reply. In our implementation we have one...
View ArticleNew Post: Multi-Tenant With Code First
Tanks Tobias for your answer :) Yes, it is easy to forget a small detail when copy/paste is used :) One of the issues I see using this approach on the ApplicationContext is that there is a callback to...
View ArticleNew Post: Unable to add annotations to EntityType
When creating an EntityType with EntityType.Create you are unable to use MetadataItem.AddAnnotation as the EntityType is created as read-only. EntityType.Create does have a parameter for specifying the...
View ArticleNew Post: Add support for configuring DbProviderServices instance.
@zabulus I think your best bet is probably to create some new conventions specifically for use with Firebird and then replace some of our existing conventions with ones that better match what the back...
View ArticleNew Post: Issue 1043-Efficient API to ask if there are pending changes on a...
@InTheEvent The DbSet.Local property returns an observable collection that will let you know when entities are added and removed. You can also implement INotifyPropertyChanged on your entity types to...
View Article