Quantcast
Channel: entityframework Discussions Rss Feed
Browsing all 1793 articles
Browse latest View live
↧

New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

Not sure, but the source is here: https://entityframework.codeplex.com/SourceControl/latest#src/EntityFramework/Core/Objects/Internal/EntityProxyFactory.cs I think the code is looking for the...

View Article


New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

ok, thanks for the link. Where does EF use this Attribute? I don't use this at all and never heared about it before.

View Article


New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

We add "ignore" attributes to make proxies more compatible with different flavors of serialization. That attribute in particular is for the JavaScriptSerializer.

View Article

New Post: Model-First and Database-First should create entity constructors...

For an entity reflecting a database table with non-nullable columns, it doesn't make sense to provide a parameterless entity constructor. If not all of the non-nullable properties get set, then the...

View Article

New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

ok. So I have to ignore this and the DLL must be loaded all the time?

View Article


New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

Or discuss with the Firebird developers if they can avoid loading System.Web all the time...

View Article

New Post: 3rd party DDEX provider registrarion is lost after updating a VS...

Today I got an update for PostSharp so I traced what Devenv.exe is doing while restarting. I see that the VS writes NEW keys (REG_CREATED_NEW_KEY) under...

View Article

New Post: 3rd party DDEX provider registrarion is lost after updating a VS...

Seems like a Firebird DDEX bug then, does it not?

View Article


New Post: Why is System.Web.Extensions.dll loaded when I call FirstOrDefault?

@AndreZiegler: We added that attribute to proxies as an attempt to fix a customer reported bug. The current behavior in which we only add the attribute (and consequently load System.Web.Extensions.dll)...

View Article


New Post: Changetracker - Difference between entity.OriginalValues...

I found a strange Changetracker behavior. If i load an entity from db and check the 3 values (Original,Current,Database) all seems to be ok. currentvalue = database value (original) originalvalue =...

View Article

New Post: Cannot Register a Function

Hi, Is there any reason why this function cannot be registered?[DbFunction("SqlServer", "FORMAT")] public static string Format(this int value, string format, string culture) { throw new...

View Article

New Post: CF: [Required] / [MinLength] data annotations insufficient

To my knowledge, the RequiredAttribute data annotation for string types only results in the corresponding database table column being created as NOT NULL. I believe this is not sufficient. Moreover, it...

View Article

New Post: CF: [Required] / [MinLength] data annotations insufficient

Would a combination of MinLength and Required not fullfill your requirement?

View Article


New Post: CF: [Required] / [MinLength] data annotations insufficient

Yes, sure, you are right. However, the book "Programmign Entity Framework - Code First" states that MinLength() currently isn't considered for database table column creation at all. And I'm not sure...

View Article

New Post: CF: [Index] data annotation should be a class/table attribute

For a multi-column index, one has to repeat the index name for each IndexAttribute data annotation over and over again. This requirement is rather error prone (in regard to typos) and it's clumsy....

View Article


New Post: Exceptions serialization when running Migrations from VS

Hi *, when I run update-database from within VS (2013) and provider throws exception I get following in console.System.Runtime.Serialization.SerializationException: Type is not resolved for member...

View Article

New Post: Cannot Register a Function

The reason the function is not recognized by just adding the attribute is that the function is not declared in our provider manifest as a built-in function for SQL Server. The way you can make it to...

View Article


New Post: EF7 installing and usage problems

I am using EF7-beta2-11657 (Visual Studio 2015 Preview). 1) When I try to install EF7, I get the following error:Unable to resolve dependency 'Ix-Async (>= 1.2.3 beta)' However, I have found only...

View Article

New Post: How to deply with automatic migration enabled?

I don't understand the concept of automatic migration. Having set "AutomaticMigrationsEnabled = true;" in the Migrations.Configuration class I can't find the place where migration steps are stored. How...

View Article

New Post: Please add support for F# projects

Hello. I'm sorry. I can't speak English well. I always use F# when I define models. I would like to use the EF Power Tools. I know that this tools are very good. Now menus are not displayed in F#...

View Article
Browsing all 1793 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>