Is a Unique ID column needed in a many-to-many (junction) table?
Getting a few projects started with EF, but I had some questions about join tables and keys etc. Lets say I have a table of applications and a table of permissions. Applications have many permissions and each permission can belong to many applications (many-to-many).
Is it better to create a stored procedure or entities to get to the data I need?
I just jumped into a new project with a new company using Entity Framework and ASP.NET MVC 4. I am no expert on Entity Framework, but I think I have a decent grasp of how to use it.
Layered architecture using Entity Framework with different class libraries
Our business requirements required to create a layered and modular architecture. So I designed an architecture to make it as decoupled and as modular as possible. I will list my layers below
Entity Framework as a type checking/verification system for database code
When I read pro and con lists of using Entity Framework (or any modern ORM really), I’m surprised that the following point doesn’t arise (self quote):
Is it okay to convert dataset from stored procedure to IEnumerable
So, I am working on a project with a team and we are using Entity Framework. We basically want to use linq to entities, and not use stored procedures. I use quite a bit of lists and IEnumerables and so does everyone else.
ASP.NET MVC 4 with Entity Framework 5 and SimpleMembership integrated into Repository and Unit Of Work pattern
I have a ASP.NET MVC4 project in which I would like to use the SimpleMembership. The application has a Person table that holds relevant information about users in the system.
Entity Framework eager loading/reference data
I’m struggling to get my head around how best to eager load entities, and how to assign relationships when creating new entities. I’m using EF5 POCO, by the way.
Should Repositories return IQueryable?
I have been seeing a lot of projects that have repositories that return instances of IQueryable
. This allows additional filters and sorting can be performed on the IQueryable
by other code, which translates to different SQL being generated. I am curious where this pattern came from and whether it is a good idea.
Should Repositories return IQueryable?
I have been seeing a lot of projects that have repositories that return instances of IQueryable
. This allows additional filters and sorting can be performed on the IQueryable
by other code, which translates to different SQL being generated. I am curious where this pattern came from and whether it is a good idea.
What is the equivalent of Entity Framework in the world of Oracle shops? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. Within the world of developers/firms specializing in building/deploying […]