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

Entity Framework Core - Knowledge Base (KB)

6 results for: in tag: join

Entity Framework Join vs Include

I am using EF6.1 and bit confused with the two formats of writing the join queries. ...var query = (from cc in dbContext.Companies.AsNoTracking() join dc in dbContext.Departments.AsNoTracking() on cc.CompanyId equals dc.Compa...
c# entity-framework entity-framework-6 join
asked by Nitin Agrawal

asp.net mvc Join two tables to a single list item in html unordered list

I have successfully used an sql inner join with two tables in webforms to join two tables to a single html unordered list....I am using Asp.net MVC 5 Entityframework 6...I am trying to join the same two tables in MVC to again output a single html unordere...
asp.net asp.net-mvc-5 entity-framework entity-framework-6 join
asked by J. Doe

Add an inner or outer join based on a parameter

This is probably an easy/stupid question but is their a way to add an inner or outer join to a SQL query (with entity framework) based on data you receive?...Example...public bool method(int? typeId, int? categoryId){ var query = from o in _dbContext....
asp.net-core c# entity-framework-core join sql
asked by Wouter

Entity Framework Core 2.2 Many-to-Many Self Reference Loop

I am following Microsoft's many-to-many ef core example at...https://docs.microsoft.com/en-us/ef/core/modeling/relationships#many-to-many...But get a self referencing loop error....Here are my entities:...public class Card { public Guid Id { get; set;...
.net-core c# entity-framework-core join many-to-many
asked by user3728304

Include with FromSqlRaw and stored procedure in EF Core 3.1

So here's the deal - I am currently using EF Core 3.1 and let's say I have an entity: ...public class Entity { public int Id { get; set; } public int AnotherEntityId { get; set; } public virtual AnotherEntity AnotherEntity { get; set; } } ...W...
.net c# entity-framework entity-framework-core join
asked by Gleb

Why only primitive types or enumeration types are supported in this context using EF?

In my application I try to execute a ...Join... query using ...EntityFramework..., ...Repository Pattern..., It is throwing bellow error. What is the ...problem... in the ...link query...? Let me explain in details...Error Description...Unable to create a...
entity-framework entity-framework-6 join linq repository-pattern
asked by Shubhajyoti Ghosh

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