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)

6940 results

data source not supported keyword

I have an asp.net-mvc application with the default membership database. I am accessing it by ADO.NET Entity Framework. ...Now I want to move it to IIS, but several problems showed up. I had to install SQL Server Management Studio, Create new DB, import th...
asp.net connection-string entity-framework
asked by Trimack

T-SQL "with" Entity Framework Equivalent

How can I write a linq to entities query that includes a having clause? ...For example:...SELECT State.Name, Count(*) FROM State INNER JOIN StateOwner ON State.StateID = StateOwner.StateID GROUP BY State.StateID HAVING Count(*) > 1
entity-framework linq linq-to-entities
asked by Jeremy

How can I register Firebird as an Entity Framework data provider?

How do I register a Firebird data provider to use it with Entity Framework?... What should I do to make it appear in the ...Entity Data Model Wizard/Choose Data Source... window?... I expect it to appear in the ...Data sources:... or ...Data provider:... ...
entity-framework firebird provider
asked by Rafael Romão

"The EntityContainer... does not exist in MetadataWorkspace," says error 11 and 2002.

I'm getting the following error when I try to compile my web application:...Error 11 Error 2002: The EntityContainer 'SomeEntitieContainerName' for the conceptual model specified as part of this MSL does not exist in MetadataWorkspace....I have only a ...
.net entity-framework linq
asked by Cleiton

Loading a self-referencing table with zeal

I have a standard self referencing table of ...Categories.... In my entity model I have made associations ...Children... and ...Parent.... Is it possible to load the whole ...Category... object without lazy loading? ...if I use the code below, it loads on...
c# entity-framework hierarchical-data
asked by Jan Remunda

How can I see the SQL that the Entity Framework generates?

How do I view the SQL generated by entity framework ?...(In my particular case I'm using the mysql provider - if it matters)
ado.net entity-framework
asked by nos

Nightmare of Entity Framework Merge

We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files....We're lean...
edmx entity-framework merge tfs version-control
asked by ctorx

LINQ to Entities: Initializing Strongly Typed Objects

I have a plain old CLR object which is essentially a wrapper for two entity framework objects, I'm doing this so I can pass this wrapper object to a strongly typed view in the MVC framework. My foo wrapper class is very simple:...public class FooWrapper {...
entity-framework linq linq-to-entities strong-typing
asked by Graham Conzett

In Entity Framework, set the model attribute to boolean.

I am just starting to learn a bit about the entity framework and don't have much experience with ORM's....In my little app I have one table, this sql server table has several columns including a PrimaryKey (int) a Name (string) and a Flag (tinyint)....Whe...
entity-framework
asked by Nathan Koop

LoaderExceptions in Entity Framework One or more of the specified types could not be loaded.

I have a Web Service that uses the entity framework. When releasing to a test environment, I receive the following error:..."Unable to load one or more of the requested types." - Stack trace below......The test box has .NET 3.5 SP 1 installed, and I have...
entity-framework
asked by David Kiff

Inheritance with.Include in Entity Framework?

I think that there's a similar post on here about this but not exactly the same......I have two entities in my EF model - let's call them Person and Developer, with the latter inheriting from the former....I also have an association on Developer called Qu...
entity-framework
asked by Isaac Abraham

In EF, how can I compare just the date components of a DateTime?

I am having two date values, one already stored in the database and the other selected by the user using DatePicker. The use case is to search for a particular date from the database....The value previously entered in the database always has time componen...
c# datetime-comparison entity-framework linq linq-to-entities
asked by pencilslate

Change Return Type On AutoGenerated EntityQuery in C# Silverlight with Entity Framework?

Background...Currently I have a C# Silverlight business application which uses RIA Services. The application is hosted in ASP.NET using the ADO.NET Entity Framework and a domain service class to read and write to the SQL Server database....Scenario...I ha...
c# entity-framework ienumerable silverlight
asked by Goober

Change the database name in the connection string in Entity Framework during runtime.

In my project I want to run some unit tests on the DAL layer that is using EntityFramework. I'm creating from scrips a new database before each run of the tests (in order to have always the same initial data when doing the tests). At the end of the tests,...
.net entity-framework runtime
asked by Lucian

Is it possible that the combination of ADO.NET Entity Framework with ASP.MVC is incorrect?

I have one solution with three projects. ...DomainModel (C# Library with ADO.NET Entity Framework)...DomainModelTest (Unit Testing for Business Logic)...WebApp (Using DomainModel)...For some reason, I cannot even bring the view if I pass any of the object...
asp.net-mvc c# entity-framework
asked by Geo

Is there a more efficient approach to update Entity Models (*.edmx files)?

I need to refresh a bunch of EDMX files in my solution. We have disected our tables into groups and each model represents one component or process. However, there are some overlapping tables, which means sometimes I need to refresh/update multiple Entit...
entity-framework entity-model project-management visual-studio
asked by Jeremiah

How can many Entity Framework models be supported in the same solution?

I have begun developing an application using the Entity Framework....I have added a namespace to contain all of my user management code MyApp.Users for example, and this contains a model that has been marked internal to the namespace and only exposes func...
.net entity-framework orm
asked by RobD

How does Linq To Entities handle paging IQueryable? (an issue with OrderBy)

I am currently building a simple ASP.NET MVC site using Linq to Entities. My first foray into this world was nerd dinner, which is where I found the paginated list code that I am attempting to use. The code looks as follows:...public class PaginatedList<T...
entity-framework generics iqueryable
asked by Sergio

"The container 'XXXX' supplied for the FunctionImport could not be located in the current workspace," says an Entity Framework error.

I am executing this... EntityConnection entityConnection = (EntityConnection)context.Connection; EntityCommand command = entityConnection.CreateCommand(); command.CommandText = "Genesis.AL_Insert"; command.CommandType = ...
entity-framework stored-procedures
asked by Jedi Master Spooky

In Entity Framework, how do you interact with enums?

What is the best way to work with Enums in Entity Framework?...Remarks: I'm using EF 3 and Firebird.
.net entity-framework enums
asked by Rafael Romão

Page 12 of 347
  • ««
  • «
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • …
  • »
  • »»

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!