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)

2 results in tag: separation-of-concerns

Accessing Database Entities from Controller

tl;dr...In a good design. Should accessing the database be handled in a separate business logic layer (in an asp.net MVC model), or is it OK to pass ...IQueryable...s or ...DbContext... objects to a controller? ...Why? What are the pros and cons of each?....
asp.net-mvc c# controller entity-framework separation-of-concerns
asked by Benjamin Gruenbaum

Using Unity, how do you register type mappings for generics?

I'm trying to implement a ...repository solution for Entity Framework... but I am having trouble registering the types that include generics using Unity. ...Given:... // IRepository interface public interface IRepository<TEntity> { // ...
entity-framework repository-pattern separation-of-concerns unity-container
asked by Mark Erasmus

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!