EF generated Stored Proc DataReader not compatible with return type

There sometimes arise situations in EF6 where Entity Framework will throw the error "The data reader is incompatible with the specified 'Sproc_Result'. A member of the type, 'PracticeCode', does n...

Id #2944 | Release: None | Updated: Jul 19 at 7:35 PM by pilotMike | Created: Jul 19 at 7:35 PM by pilotMike

Add-Migration causes exception with no work around

When running Add-Migration I receive this exception: System.Runtime.Remoting.RemotingException: Object '/fb971564_85a5_457e_8805_8ff8043e2fab/pmwebt1kurol77a4gtrpnmht_3.rem' has been disconnected o...

Id #2943 | Release: None | Updated: Jul 19 at 10:13 AM by hdahl | Created: Jul 19 at 10:13 AM by hdahl

Parent/Child: Proxy collection instance not instantiated when mapping founds in Child

Parent/Child: Parent's proxy collection instance is not being instantiated when mapping founds in Child. At least the Children collection and perhaps also the Parent object reference must have th...

Id #2942 | Release: None | Updated: Jul 18 at 11:32 AM by hdahl | Created: Jul 18 at 11:32 AM by hdahl

Data Retrieval Behavior Changed After Windows Update: KB3165756

Hello, I have been using Entity Framework 6.1.3 since its release with no issues, I have been developing an Asp.net MVC application which exclusively uses Entity Framework 6.1.3 for a little ove...

Id #2940 | Release: None | Updated: Jul 15 at 4:48 AM by Devocity | Created: Jul 15 at 4:36 AM by Devocity

Running Seed method. System.Reflection.AmbiguousMatchException: Ambiguous match found.

When running Update-Database a second time PM> Update-Database Specify the '-Verbose' flag to view the SQL statements being applied to the target database. No pending explicit migrations. Run...

Id #2938 | Release: None | Updated: Jul 12 at 9:05 PM by RHM002 | Created: Jul 12 at 9:05 PM by RHM002

.NET/EF6 ObjectContext leak using compiled LINQ query that references String.StartsWith()

Repro: class Program { static void Main(string[] args) { var test = new Test(); test.Run(); GC.WaitForPendingFinalizers(); GC.Collect(); Console.WriteLine("set breakpoint here...

Id #2937 | Release: EF 6.2.0 | Updated: Wed at 10:58 PM by RoMiller | Created: Jul 6 at 10:24 PM by maumar

Add option to pass hints to queries (particularly NOEXPAND)

Hello, In an effort to improve some specific queries on a product I am involved in I had to use views with clustered indexes. This particular solution improved the query speed by about 60%, but o...

Id #2936 | Release: None | Updated: Jun 29 at 7:31 AM by bcatalin | Created: Jun 29 at 7:31 AM by bcatalin

SqlFunctions.CharIndex Incorrect Parameter Order

Seen in Version 6.1.3 The parameters for SqlFunction.CharIndex are documented as: // Summary: // Returns the starting position of one expression // found within another expression. // /...

Id #2935 | Release: EF 6.2.0 | Updated: Wed at 10:59 PM by RoMiller | Created: Jun 27 at 10:43 AM by ChrisKeith

Error on delete in Many-To-Many relationship

Hello I have a simple Context/DataModel setup with a School, Student and 'Class' class, all identified by a Guid primary key. One School can have many Students (one to many). Many Students ca...

Id #2934 | Release: None | Updated: Jun 24 at 11:43 AM by haraldhoff | Created: Jun 24 at 11:43 AM by haraldhoff

All paths of ConditionalExpression are evaluated

When a ConditionalExpression depends on only client variables, I would expect the entire ConditionalExpression to be evaluated in the Funcletizer process. Instead, only the child expressions are ev...

Id #2933 | Release: None | Updated: Jun 22 at 5:44 PM by cpearson | Created: Jun 22 at 5:44 PM by cpearson