New Post: Error only in shortcut network = The type initializer for...
I don't know exactly what the issue could be but I have seen similar exceptions thrown the there is a mismatch between the runtime assembly and the EF related settings in the application's config file,...
View ArticleNew Post: Error only in shortcut network = The type initializer for...
divega, thanks for responding! I also know some problems that you mentioned above. But in my case it is strange that the problem only occurs when access to the software is run remotely by a shortcut....
View ArticleNew Post: RAISERROR in DbUpdateException
Hello! I need get the Raiserror from database in EF 6, but in the exception, it show: An error occurred while updating the entries. See the inner exception for details. If I go to the InnerException I...
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
I'm working on two UpForGrabs issues. issue 1904 and Enum.HasFlag. Both fixes work, but I'd like to know how null is supposed to be treated. e.g. foo.HasFlag(null); This should throw, so either the...
View ArticleNew Post: ef tools in visual studio gallery
Hi all, I see that for visual studio extensions installed from visual studio gallery I receive notifications when an update is available. Can be done for entity framework tools too? Ef tools are quite...
View ArticleNew Post: Could we please get an update on the Roadmap?
Right now it reads like "abandoned". EF 6.1 - This release is currently in the planning stage. EF 7 - no word. There seems to be no long term planning and I personally find that a little frustrating....
View ArticleNew Post: Could we please get an update on the Roadmap?
Hear, hear! For example: SQL 2012 programmability enhancements, Batch SaveChanges, Update and Delete without loading from DB, WinRT support, Index attribute (in progress)
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
One way to deal with this is to infer type from a binary expression. Both cases here are Binary operations: (left & right) == right and (left + right) The type of the "right null" could be inferred...
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
Pawel and I discussed this on Friday, and as far as I can see we came to the same conclusion for HasFlag. It is actually a bit further and we said the argument of HasFlag could always be assumed to be...
View ArticleNew Post: Error only in shortcut network = The type initializer for...
Continue with the problem Now proved that the error does not occur with the entity framework 5 But with the Entity Framework 6 will not ... until now is difficult to understand the solution and browse...
View ArticleNew Post: Error only in shortcut network = The type initializer for...
Could you post the whole stack trace for the exception?
View ArticleNew Post: Error only in shortcut network = The type initializer for...
Isn't this a problem related to limited rights to run .NET code over the network?http://www.hanselman.com/blog/GivingAMappedNetworkDriveFullTrustWithNETCodeAccessSecurity.aspx
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
Somewhat offtopic: Found another issue that also suffers from DbNull issues.https://entityframework.codeplex.com/workitem/826 In this case the translator tries to create a DbNull of a projectiontype,...
View ArticleNew Post: Error only in shortcut network = The type initializer for...
RogerAlsing, thanks for the help I ran the command caspol but the error continues The strange thing is that when I remove the <entityFramework> the App.config tag everything runs perfectly But I...
View ArticleNew Post: Upgraded to EF6; Includes Inherited Automatic Read-Only Properties?
Hi, I recently upgraded a project to EF6. As a result, my database now includes columns for automatic read-only properties that are defined in my code-first models' base class. For example, I have...
View ArticleNew Post: I am having a lot of problems, when I am trying to migrate changes...
When I am making changes in my model, in my code-first project, running EF6.0.1, I am constantly running into problems! It seems that the sequence of the generated migration script is wrong. I have...
View ArticleNew Post: Error only in shortcut network = The type initializer for...
I found an alternative that apparently solved my problem: extender DbConfigurationpublic class MyDbConfig : DbConfiguration { public MyDbConfig() {...
View ArticleNew Post: SQL Server 2012 OFFSET FETCH
Hi team, I am thinking about doing this, would it make sense to do just this? (part of very large issue https://entityframework.codeplex.com/workitem/961 ) /Erik
View ArticleNew Post: SqlGenerator for PostgreSQL and Generate HistoryOperation
Hi, I've create a SQL generator for EF5 (https://github.com/darionato/PostgreSqlMigrationSqlGenerator) and now I'm adapting it for the 6 version. I'm handling the migration history operation overriding...
View ArticleNew Post: SQL Server 2012 OFFSET FETCH
In the case of SQL Server this behavior would need to depend on the version and would require extensive testing, including performance. I believe we can make it work if you want to send a pull request,...
View Article