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)

99 results in tag: asp.net-core

Example of using asp.net 5 MVC 6 with Identity and EF 6

I'm setting up a new project using asp.net 5 and MVC 6, but I want to use Entity Framework 6 due to the missing features in EF 7....I setup EF 6.1.3 and that is working....Identity 3.0 depends on EF 7 so I have removed that and referenced in Identity 2.2 ...
asp.net-core asp.net-identity-2 entity-framework-6
asked by Tom

How to Use Entity Framework 6.x in Asp.Net 5 (MVC 6)

I'm testing out the new Asp.Net 5, using VS 2015 CTP-6. Because of the lack of features in Entity Framework 7, I would prefer using EF6 for now. ...I've tried removing EF7 and then applying EF6 in PM, like this:...Uninstall-Package EntityFramework Install...
asp.net-core asp.net-core-mvc c# entity-framework-6
asked by mikal

How to enable migrations (EF6) in an asp.net 5 project?

I created a new class library (package) project (prior to VS 2015 RC used the even worse name of asp.net class library to represent the data layer. Just to be clear this is the newer kproj style structure....Added EF 6.1.3 to project.json. Currently onl...
asp.net-core entity-framework-6
asked by Gerald Davis

How can I do an Entity Framework Core project and add a Migration in Visual Studio 2015 from nuget prompt?

In Visual Studio 2015, I created an ASP.net Core project (formerly called ASP.NET 5). The template for the project creates an MS SQL localdb for persistence, along with entity framework, and some authentication tables....After I figured out how to browse...
asp.net-core dnx entity-framework powershell visual-studio-2015
asked by Warren P

How do I use Entity Framework 6 with MySQL in ASP.NET 5?

I have an existing site that uses ASP.NET MVC 4, Entity Framework 6 and MySQL. I'm trying to upgrade it to ASP.NET 5, but want to continue using Entity Framework 6 as Entity Framework is missing some features and does not yet support MySQL. How do I use E...
asp.net-core entity-framework entity-framework-6 mysql
asked by Daniel Lo Nigro

ADO.NET Entity Data Model missing Visual Studio 2015 community

I am starting a new ASP.NET 5 Preview template to play with client side development....I have a database ( MS SQL ) that I want to access using the Web API and Entity Framework....In my ...Models... folder I do like I am used to do, add a new item and I w...
ado.net asp.net asp.net-core entity-framework visual-studio-2015
asked by Mivaweb

Asp.net 5.0 MVC6 EF6 Migration Scripts

I am working on Asp.net 5.0 mvc6 and I am wanting to use entityframework 6 because 7 isn't completely coded yet and I have been able to get it to do everything but migration. ...When I type enable-migration, add-migration or update-datatabase I get ...ena...
asp.net-core asp.net-core-mvc entity-framework-6 powershell
asked by Ian Overton

Strongly typed AppSettings Configuration in ASP.NET 5

When using WebApi 2 my web.config was...<connectionStrings> <add name="RavenHQ" connectionString="Url=http://localhost:8080;Database=ModelFarmDb" /> </connectionStrings> ...For ASP.NET 5.0, I can't work out how to write the config.json file to do ...
asp.net-core entity-framework-6
asked by van thanh tran

Getting database connection string in ASP.NET 5/EF 6

I have a solution with two projects: ASP.NET ...5... Web project and Class library with EF6. In old ASP.NET 4 world I had DbContext class with the constructor:...public MyModel() : base("name=MyModel") { } ...And then in the web application I had conne...
asp.net asp.net-core configuration entity-framework entity-framework-6
asked by Felix

EF 6 with a dnx project

I have a new ASP.net 5 dnx class library I am using for entity framework. I need to target EF 6 because some features I need are not in EF 7....First the EF tools (like enable-migration) were not there. I added an old style class library and installed E...
asp.net-core c# dnx entity-framework-6 project.json
asked by Don Chambers

How to generate EDMX file for EF6 in ASP.Net5 (Database first approach)

I am trying to use EF6 in my ASP.Net5/MVC6 application, I installed the EF package from Nuget but I am not getting any template to generate the EDMX file (it was possible in previous veriosn of MVC). I found couple of article that talks about code first a...
asp.net-core ef-database-first entity-framework-6
asked by Abhimanyu Kumar

Unable to Enable EF6 Migrations in Visual Studio 2015 Web API project

In my VS2015 ASP.NET 5 Web API project I installed EF6.1.3 but the ...enable-migrations... command in Package Manage console gives me following error: ...The term 'enable-migrations' is not recognized as the name of a cmdlet, function, script file, or ope...
asp.net-core c# ef-migrations entity-framework-6 visual-studio-2015
asked by nam

Access IBM db2 database with asp net 5

I need to connect my ASP Net 5 application with a IBM Db2 database....I found these nuget package:...https://www.nuget.org/profiles/IBMDB2EF...And i followed this tutorial:...https://www.ibm.com/developerworks/community/blogs/96960515-2ea1-4391-8170-b0515...
ado.net-entity-data-model asp.net-core db2-400 entity-framework-6 entity-framework-core
asked by Jonhy.Olivas

Create claims identity in Identity 3

Visual Studio 2015 scaffolding uses ...UserManager<TUser>... which cannot be used to create ...ClaimsIdentity.... Does anyone have a working example on how to do this?...The VS2015 scaffolding throws errors:...public async Task<ClaimsIdentity> GenerateUse...
asp.net-core asp.net-identity-3 entity-framework-6 razor
asked by Ungaro

How to configure authentication in ASP.NET Core 1.0

I am trying to add authentication to my application, i have entity framework running but now i would like to authenticate the user but i am running into lots of issues configuring it in the configure constructor....For instance in many tutorials they prov...
asp.net-core authentication c# entity-framework
asked by mary_code

How to make ASP.NET Core RC2 app build on net46 framework with older third party dependencies

I have a shiny new Asp.Net Core MVC App that references some older ...net45... libraries....Works fine with Asp.Net Core RC1 on full net45 framework. Migrating from Asp.NET Core rc1 to rc2 I have hit an obstacle that I don't know how to fix....The App is ...
asp.net-core dotnet-cli entity-framework-6 kendo-asp.net-mvc wcf
asked by mcolhoun

How to set the right AttachDbFilename relative path in ASP.NET Core?

Working in VS2015 on a web project based on ASP.NET Core (former ASP.NET 5), .NET Core CLR RC1, EF Core (former EF 7), EF Migrations enabled, LocalDb v11.0....I manually (through SQL commands) created a database and placed MDF/LDF files in a project subdi...
asp.net-core c# entity-framework
asked by superjos

Calling service/repository methods in ASP.Net Core middleware

ASP.Net Core noob here...I am using an ASP.Net Core WebAPI core project using DNX451 with EF 6. ...I have a requirement to implement API Key auth in our service. To do this I have created middleware that gets information from the request and proceeds with...
asp.net-core asp.net-web-api2 entity-framework-6
asked by The Sheek Geek

No executable found matching command "dotnet-ef"

I'm doing a project sample by using ASP.Net Core RC2 with ...Microsoft.EntityFramework.Core... and SQLite....I've followed this tutorial: ...https://damienbod.com/2015/08/30/asp-net-5-with-sqlite-and-entity-framework-7/...But, when I run this command :..
asp.net-core asp.net-core-1.0 entity-framework
asked by Redplane

Unexpected connection state when multiple requests at the same time

We use ASP.NET Core and EF6 for database requests. Potentially, multiple user can access at the same time at the database. I materialized the situation with a unit test :...Parallel.For(0, 10, count => { result = userRepo.Sessions.Any(session => sessi...
asp.net-core c# dependency-injection entity-framework-6
asked by Christophe Gigax

Page 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5
  • »

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!