zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

40 results in tag: visual-studio-2015

How to create an index for a string property in Entity Framework 7

I'm trying to create a code first model for Entity Framework 7. I'm using recently released Visual Studio 2015 Beta and the following versions of EntityFramework packages (snippet from my project.json file):..."EntityFramework.SqlServer": "7.0.0-beta1", "...
entity-framework-core visual-studio-2015
asked by Alexander Bessonov

How can I manage EF 6 migrations in visual studio 2015?

I started a new MVC project with ...EntityFramework -Version 6.1.2... using Visual Studio 2013 latest update. I made a couple of migrations and updated the database. After this I checked out the project on another computer and opened with Visual Studio 20...
c# ef-migrations entity-framework entity-framework-6 visual-studio-2015
asked by Luca Morelli

Configure more than one dbcontext in EF 7

I created a web starter application with VS 2015 ctp, and I would like to add an in-memory store to do some test, but when I try to read the data, I get this message ...The data stores 'SqlServerDataStore' 'InMemoryDataStore' are available. A context ca...
c# entity-framework-core visual-studio-2015
asked by Luca Morelli

Nuget error "Object reference not set to an instance of an object" while installing Entityframework 7 from Package Manager Console in VS2015

I am trying to build a sample application using EF7 and mvc 6 in visual studio 2015 pre release....While installing both EF7 and MVC6 using package manager console getting this error.... PM> Install-Package EntityFramework.Commands -Version 7.0.0-beta3 -P...
entity-framework-core visual-studio-2015
asked by jkyadav

Entity Framework 7 Migration Scaffolding in Class Library with Configuration

Trying to add migrations to an EF7 Model that lives in an ASP.NET 5 class library. When running ...dnx . ef migration add mymigration... fails with different results depending on which project I run it on. ...If I run it in the folder of the main project,...
asp.net-core dnx ef-migrations entity-framework-core visual-studio-2015
asked by CuddleBunny

ASP.NET 5, Entity Framework 7 & SQL Server 2014 - multiple dbContexts, SQL views

I have created a solution in Visual Studio 2015 consisting of a Web project (using the ASP.NET 5 Beta 6 Web Application Preview Template), and a Model project (using Entity Framework 7 Beta 6)....I got to the point where I could get data from a SQL Server...
asp.net-core dbcontext entity-framework-core sql-server-2014 visual-studio-2015
asked by Jerms

does Visual Studio 2015 include .edmx support?

Does Visual Studio 2015 include .edmx support?...I have a project that includes an .edmx data model and double-clicking it in VS2015 just opens the XML editor....There's no DbContext generator option in the file->new dialog.
edmx edmx-designer entity-framework entity-framework-6 visual-studio-2015
asked by Spongman

Visual Studio 2015 crashing each time I run Update-Database

Each time I run Update-Database from the package manager console, Visual Studio 2015 is crashing. It happens to be running my migrations Configuration.Seed method at the time. Any idea where I should look to find out what's going on?
ef-code-first ef-migrations entity-framework entity-framework-6 visual-studio-2015
asked by jlavallet

NuGet package referencing issues in new Nuget Class Library template in Visual Studio 2015

I've been working with the pre-release version of VS2015 recently which gave the option of a "ASP.NET 5 Class Library" which has since changed in RTM to simply "Class Library (Package)" With the description ...PREVIEW - A project template for creation a c...
entity-framework-core visual-studio-2015
asked by BenM

How can I update my project from System.runtime 4.0.10.0 to 4.0.20.0

I get this error when I build my project:...Severity Code Description Project File Line Error CS1705 Assembly 'EntityFramework.Core' with identity 'EntityFramework.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Ru...
c# entity-framework-core visual-studio-2015
asked by Elisabeth

The EntityFramework package is not installed on project ASP.NET Beta8

Trying to get Entity Framework 7 to work in my ASP.NET 5 Beta8 project. I have references to EntityFramework.SqlServer 7.0.0-beta8 and EntityFramework.Commands 7.0.0-beta8 packages in my references. ...Yet when I go to the Nuget Package Manager Console...
asp.net-core entity-framework-core visual-studio-2015
asked by Ian Forsyth

Entity Framework edmx click on diagram very slow

Background first: I have a database-first EF6 model in Visual Studio 2015 (latest nuget 6.1.3 pointing to a local SQL Server 2014 SP1 Express database) on a Windows 10 Pro laptop. After I upgraded from Windows 8.1 and Visual Studio 2013. I also upgraded t...
edmx entity-framework entity-framework-6 visual-studio-2015
asked by Tree

Entity framework 7, visual studio 2015, console commands don't work

I am using the ASP.NET 5 Web application Template (which is using EF7 and MVC 6), the one with the individual User Accounts, and I have the following problem:...When I add my own DBSet to the ApplicationDbContext class, and then going to a page which is t...
asp.net-core-mvc c# entity-framework-core visual-studio-2015
asked by anonymous

Add Migration gives "Unable to resolve project from ..."

Using EF7 on an ASP.NET 5 project I tried to add a migration typing the following on VS Package Manager Console:...dnx ef migrations add InitialDatabaseSetup ...And I got the error:...Unable to resolve project from C:\Projects\ASPNET5DEMO ...The project i...
entity-framework-core visual-studio-2015
asked by Miguel Moura

How to access ASP.NET UserManager

I am looking for the correct way to get access to the UserManager<MyUser> object outside of a controller using the most recent incarnation of ASP.NET MVC 5 and Entity Framework 7....I want to seed my database with users in my seed class, but I have been u...
asp.net-identity asp.net-mvc-5 entity-framework-core visual-studio-2015
asked by ChiliYago

How to scaffold DbContext with plural DbSet property names in Entity Framework Core?

I use ...Scaffold-DbContext... command in ...Package Manager Console... to create and re-create context and entities for an existed SQL Server database:...Scaffold-DbContext -provider EntityFramework.MicrosoftSqlServer -connection "my connection string" ....
c# entity-framework entity-framework-core sql-server visual-studio-2015
asked by Ilya Chumakov

Visual Studio 2015 and Entity Framework Migrations not working

We are using Visual Studio 2015 Update 1 and Entity Framework 6.1.3. Also we are following the Code-First approach and are using Entity Framework Migrations to respond to schema changes. Since updating to Visual Studio 2015, some fellow developers can not...
c# entity-framework entity-framework-6 visual-studio visual-studio-2015
asked by Fabe

Error during compilation with .NET 4.6.1 on a Nuget Class Library with EF core

I have a problem during compilation for two .NET class libraries. the problem occur during build targeting .NET4.6.1 (or 4.5.2, 4.6 or other, I've try all).....NET Framework 4.6 error CS0012: The type 'Func<,>' is defined in an assembly that is not refe...
.net-4.6 .net-core c# entity-framework-core visual-studio-2015
asked by cdie

MissingMetadataException when building UWP app with .Net native

I have this UWP app that uses a project (UWP class library) which itself uses EF7 and SQLite....I tried to build the app in the Release mode using .Net native tool chain, the build completes successfully (after a good long time, and after eating as much m...
.net-native entity-framework-core linq visual-studio-2015 win-universal-app
asked by AymenDaoudi

Looping through tables in Entity Framework 6

sorry for the simple question. I'm new at this. I have an entity model with several tables and I'd like to get a list of the tables, then I'd like to get the contents of a column from the tables....For example, I have tables of subjects: Biology, Chemistr...
ajaxcontroltoolkit c# entity-framework entity-framework-6 visual-studio-2015
asked by CSharpFiasco

Page 1 of 2
  • 1
  • 2
  • ยป

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!