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)

6 results in tag: asp.net-core-webapi

ASP WEB API multiple DBContext

I have app asp.net core web api app with 2 controllers OracleController.cs ... [Route("api/[controller]")] public class OracleController : Controller { private readonly OracleDbContext _db; public HeatsCont...
asp.net-core-webapi c# entity-framework-6 oracle
asked by Stopee

What is the best practice in EF Core for using parallel async calls with an Injected DbContext?

I have a .NET Core 1.1 API with EF Core 1.1 and using Microsoft's vanilla setup of using Dependency Injection to provide the DbContext to my services. (Reference: ...https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro#register-the-context-with-...
asp.net-core-webapi asynchronous dbcontext entity-framework
asked by starmandeluxe

Application break accessing dbcontext, Asp .net core web api 2.0 with entity framework core 2.0 database first approach

I have developed asp .net core wep api 2.0 application with EntityFrameworkCore.SqlServer 2.0. It is developed using database first approach. When trying to access entities using dbcontext application is going to break mode. I cannot find the reason for a...
asp.net-core asp.net-core-mvc asp.net-core-webapi entity-framework-6 entity-framework-core
asked by bhathiya.m

Could not load file or assembly 'System.ComponentModel.DataAnnotations' in Visual Studio 2017 while doing Code First Migrations

Here I am trying to develop .NetFrameworkCore project in VS 2017. I have a solution with two projects ...Class Library...ASP .net Core Application ...I wanted to create migration for which I can use ...enable-migrations... and ...add-migration InitialCrea...
asp.net-core asp.net-core-webapi c# entity-framework-6 entity-framework-core
asked by Iswar

.net core web api close database connection

I am trying to build a blog webapi with this web api core ...demo... and ...microsoft doc.... I use Npgsql connect to a PostgreSQL database, and add some methods, but the database return error message "too many clients connected" when I debugging....So ho...
asp.net-core-webapi c# entity-framework-6
asked by Rackar

EntityFramework DbContext in static method per request

How Entity Framework ...DbContext... works in static method per web request? is there any performance issue? I have 2 classes below . Which one is better to use ? or bad? Do we need get instance all pear request ? is there any issue?...public class MyClas...
asp.net-core-mvc asp.net-core-webapi asp.net-mvc dbcontext entity-framework-6
asked by DotnetGirl

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!