New Post: [Table] and [Column] apparently ignored
No worries. That could certainly explain what you saw. By the way, if you want to generate a Code First model database and you have the possibility of using our latest release, you can skip the...
View ArticleNew Post: How to debug the entity data model wizard?
Hi, I want to do reverse Engineering of a Firebird DB (code first from Database) in VS2012. Now I run into some issues. With the EF6 Version of the Provider from NuGet I get an EF6 Provider...
View ArticleNew Post: Interception and unique object Ids
Logging interception of EF 6 is a great feature. But how can I relate a Context with its connections and transactions. For instance we have an interception method like:public void Closed(DbConnection...
View ArticleNew Post: How to debug the entity data model wizard?
Here are the instructions for debugging EF tooling: https://entityframework.codeplex.com/wikipage?title=Debugging%20EF%20Tools Thanks, Pawel
View ArticleNew Post: How to debug the entity data model wizard?
ok, thanks for that link. I missed this. My issue was caused by mixing the Firebird Provider Versions. The GAC had a different Version. Now make sure the FirebirdSql.Data.FirebirdClient your DDEX...
View ArticleNew Post: Interception and unique object Ids
@VahidN: this is a very good observation. The reason for the current design is that we did not want interception to add any overhead to the normal operation of EF by default. E.g.:If no interceptors...
View ArticleNew Post: Interception and unique object Ids
Thanks for the reply. Storing references of the instances is a good idea. Also using the ConditionalWeakTable makes it more GC friendly, such as Extension Properties idea. Regards, Vahid
View ArticleNew Post: Error 3034: splitting an entity
You need to generate views to split your table, EF allows you to configure only one type per table in each context. Try to create a View for each type showing only the columns of the table for the type.
View ArticleNew Post: Will EF support SQL Server Sequences?
We have plans to support SQL Server sequences in EF7. Hope this helps, Diego
View ArticleNew Post: ExecuteStoreQueryInternal disposing command before the reader is...
The ObjectContext.ExecuteStoreQueryInternal method disposes command right after it receives the reader. This is a problem for Firebird as the command is needed when the reader needs to get more...
View ArticleNew Post: ExecuteStoreQueryInternal disposing command before the reader is...
@cincura_net The change was not intentional, or at least it was not intentional that the dispose was done too soon--could you file a bug for it? Also, it turns out that the core EF code doesn't handle...
View ArticleNew Post: Interception and unique object Ids
Using the following methods lets me to uniquely identify contexts, connections and transactions and relate Opened and Disposed connections successfully:using System; using...
View ArticleNew Post: ExecuteStoreQueryInternal disposing command before the reader is...
Bug filled https://entityframework.codeplex.com/workitem/2418. The DbCommand itself has zero unmanaged resources, but allocates something on server side. And server will keep that allocated, at worst,...
View ArticleNew Post: ExecuteStoreQueryInternal disposing command before the reader is...
@cincura_net Thanks for the info.
View ArticleNew Post: DbModel StoreItemCollection and EdmFunction (Code First 6.0.1)
Thank you Halo_Four, now I can do entity SQL query invoking a store procedure in a code first generated database. However, I cannot use the MigrateDatabaseToLatestVersion as for the database migration...
View ArticleNew Post: Does Code First from Database wizard replace Entity Framework Power...
@ajcvickers Is there a quick way that you know of to revert back to how the EF Power Tools Beta generated code? I can't seem to figure out how to make these new T4 templates work to create separate...
View ArticleNew Post: ef 6.1.1 problem while using WithRequiredPrincipal
There is a problem in ef 6.1.1 while using WithRequiredPrincipal, The example Code like this public partial class MUser { public int ID { get; set; } public string Name { get; set; } public MUserInfo...
View Article