zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

4 results in tag: compiler-errors

DbContext not compiling?

i am following a step by step to learn mvc and creating a music shop but for some reason i cant get the following code to work.....using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace Mv...
.net c# compiler-errors entity-framework
asked by Beginner

Cannot assign void to an implicitly-typed local variable

var query = rep.GetIp() // in this line i have the error .Where(x => x.CITY == CITY) .GroupBy(y => o.Fam) .Select(z => new IpDTO { IId = z.Key.Id, ...
c# compiler-errors entity-framework linq linq-to-entities
asked by Tania1990

Use Include() method in repository

I have the following with EF 5:...var a = context.Posts.Include(x => x.Pack).Select(x => x.Pack.Id).ToList(); ...This works. Then I tried to replicate this in my generic repository:...public IQueryable<T> Include<T>(Expression<Func<T, Boolean>> criteria) ...
.net c# compiler-errors entity-framework
asked by Miguel Moura

LINQ to Entities does not recognize the method 'System.String ToString(Int32)'

Hi I am using a linq query which is throwing the error LINQ to Entities does not recognize the method 'System.String ToString(Int32)' method, and this method cannot be translated into a store expression.... List<string> resultMap = (from item in ma...
.net c# compiler-errors entity-framework linq
asked by Biswakalyan

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!