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)

13 results in tag: architecture

Using entities from Entity Framework as business objects?

I'm using Entity Framework O/R mapper from Microsoft and using entity classes (generated classes that are mapped to DB objects) as a business objects. Is this OK? Please state your cons or pros. What to do in a case of WCF communication between business ...
.net architecture entity-framework
asked by Aleksandar

When to Avoid Using Entity Framework

I have been playing around with the EF to see what it can handle. Also many articles and posts explain the various scenarios in which the EF can be used, however if miss the "con" side somehow. Now my question is, ...in what kind of scenarios should I sta...
.net architecture c# entity-framework
asked by driAn

Code first architecture with ASP.NET MVC3 and Entity Framework

My previous question... made me think again about layers, repository, dependency injection and architectural stuff like this. ...My architecture now looks like this:... I am using EF code first, so I just made POCO classes, and context. That creates db a...
architecture asp.net-mvc code-first entity-framework unit-testing
asked by Damb

Best practices for an N-tier ASP.NET MVC3 application (using EF 4.1)

I am looking for a sample ASP.NET MVC3 N-Tier application that demonstrates best practices (uses Domain Driven Design and Entity Framework 4.1 Code first). I found the following. which one do you recommend out of these (or any other one not in this list)?...
architecture asp.net-mvc-3 design-patterns domain-driven-design entity-framework
asked by RKP

Multiple DbContext classes for a single web app. Good or bad?

Is it a good practice to have multiple ...XXX : DbContext... classes for each major section of a web application (considering it's a big one with at least 50 tables in its database)? For example: MembershipContext, BlogContext, StoreContext etc. Or it's m...
architecture coding-style entity-framework repository-pattern
asked by Grief Coder

Which architecture is better for a medium-sized, high-traffic website?

I'm starting a new project (non-corporative) and I want to know how would be a great architecture nowadays....What I'm planning for now is to use: ...ASP.NET MVC 4.0...SQL Server 2008 or 2012...EF 5.0 under .NET 4.5, with Dapper...Implementation of Reposi...
architecture asp.net-mvc dapper entity-framework performance
asked by eduardobr

NOT using repository pattern, use the ORM as is (EF)

I always used Repository pattern but for my latest project I wanted to see if I could perfect the use of it and my implementation of “Unit Of Work”. The more I started digging I started asking myself the question: ..."Do I really need it?"...Now this ...
aop architecture design-patterns entity-framework repository-pattern
asked by Dejan.S

What is the best practice for multiple "Include"-s in Entity Framework?

Let's say we have four entities in data model: Categories, Books, Authors and BookPages. Also assume Categories-Books, Books-Authors and Books-BookPages relationships are one-to-many. ...If a category entity instance is retrieved from database - including...
architecture c# data-access-layer ef-database-first entity-framework
asked by anar khalilov

ASP.NET MVC Large Project Architecture

This is a question related to how to structure an ASP.NET MVC project for a medium to large application....I thought I understood the concepts of MVC but after looking into architectures for medium and large applications I am confused. (trying to take int...
architecture asp.net asp.net-mvc-4 c# entity-framework
asked by OJay

Should services always return DTOs, or can they also return domain models?

I'm (re)designing large-scale application, we use multi-layer architecture based on DDD....We have MVC with data layer (implementation of repositories), domain layer (definition of domain model and interfaces - repositories, services, unit of work), servi...
architecture asp.net-mvc domain-driven-design entity-framework
asked by Robert Goldwein

Entities VS Domain Models VS View Models

There are hundreds of similar questions on this topic. But I am still confused and I would like to get experts advise on this....We are developing an application using ASP.NET MVC 4 and EF5 and ours is DB first approach....We have Data layer in a separate...
architecture asp.net-mvc c# design-patterns entity-framework
asked by Naresh

Should Entities in Domain Driven Design and Entity Framework be the same?

I have started using Entity Framework Code First for the first time and am impressed by the way in which our greenfield application is being built around the domain rather than around the relational database tables (which is how I have worked for years). ...
architecture domain-driven-design entities entity-framework
asked by David Brower

How to make the data access technology (Entity Framework) ignorance from the presentation layer (ASP.NET MVC)?

Premise:...I am exercising Domain-Driven Design and I separate my solution into 4 layers:...Presentation Layer ...An ASP.NET Web API 2 project for a RESTful API web service...An ASP.NET Web MVC5 project for a documentation and admin screens...Application ...
architecture asp.net-mvc-5 c# domain-driven-design entity-framework-6
asked by David Liang

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!