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)

20 results in tag: nuget

Error when installing EntityFramework package over NuGet

I tried to install EntityFramework 4.1 on VS 2010 through NuGet. I searched and found the package through "Tools > Library Package Manager > Add Library Package Reference" tool and I got this error: "This package (or one of its dependencies) contains powe...
.net entity-framework nuget
asked by Marwan

Where can I find the console or debug output from code executed in the package manager window?

I'm using EntityFramework code first with migrations. From the package manager console, I'm running "update-database". This executes Configuration.Seed(context) which I have overridden.... protected override void Seed(WebContext context) { ...
ef-code-first ef-migrations entity-framework nuget
asked by DanielEli

Entity Framework 5 Nuget Console commands

So I am making a DB with EF 5 Code first, I have checked some guides and found some "important"/useful commands like: "Update-Database -Force -Verbose". However I know there must be more commands like these, something like: "Purge-Database", but no succes...
command-line ef-migrations entity-framework nuget
asked by Maximc

Re-create table with Entity Framework 5 and nuget

I am using Code First to create a table. ...I created the class, the mapping file and issued the add-migration command in nuget and then the update-database command...I then changed the class and like an idiot deleted the table....I deleted the migration...
ef-migrations entity-framework nuget
asked by James Helms

EntityFramework 5 Install fails in VS 2012

I'm attempting to install the latest version of the EntityFramework from the Program Manager console in Visual Studio 2012. Running the install-package command yields the following error:...PM> install-package EntityFramework You are downloading EntityFr...
entity-framework nuget visual-studio-2012
asked by Techie Joe

How can I install Entity Framework 4.2?

This used to be trivial via Nuget but now, I can only find 5.0 in Nuget. How can I specifically install version 4.2? We are trying to upgrade from 4.0 to 4.2 but aren't ready for a major upgrade to 5.0 at this time. This is one of those problems that come...
entity-framework nuget visual-studio-2010
asked by Jaxidian

Install EF 4.4.0.0

Currently I have Entity Framework 5.0 installed in Visual Studio 2012. For some reason the project only is supported by EF 4.4.0.0....So I installed EF 4.4.0.0 but I have the error in the Nuget command line:...PM> Install-Package EntityFramework -Version ...
entity-framework nuget visual-studio-2012
asked by user1108948

How to install NuGet-packages without internet connection?

Currently I'm developing on a virtual pc which is not allowed internet access. I managed to get the NuGet.Tools.vsix to add NuGet to Visual Studio 2010, but cannot seem to find out how to deploy NuGet-packages offline....For example, I downloaded EntityFr...
.net entity-framework nuget visual-studio visual-studio-2010
asked by Herman Cordes

Entity Framework Migrations NuGet Error

Using Visual Studio 2013 Express Preview for Web and Entity Framework 5...I'm getting the following error when I attempt to enable migrations:...PM> Enable-Migrations System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStud...
asp.net-mvc c# entity-framework nuget visual-studio
asked by user2166297

The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception on a Sub Website

I have 2 websites, one is a sub directory of another but is an Application ex: /root & /root/Services...They both use Entity Framework 6.x but the child website is throwing ...The type initializer for System.Data.Entity.Internal.AppConfig' threw an except...
c# entity-framework entity-framework-6 nuget
asked by Brian

What is the reverse for Update-Database (used in Package Manager Console)?

I have been changing my domain classes and executed Update-Database in the Package Manager Console, After i realized that need to add an index and need to down-grade to the previous state. what is the proper command to down-grade one step in migration?
entity-framework nuget nuget-package
asked by Ehsan Zargar Ershadi

Could not load file or assembly 'EntityFramework, Version=6.0.0.0,

I am working with EF . I am trying to execute this line ...public ActionResult Edit(string id) { return View(obj.FindSemesterById(id)); } ...I installed EF Version 5 on my project....But i get this error :...Could not load file or assembly...
asp.net asp.net-mvc c# entity-framework nuget
asked by Ehsan Akbar

Enable-Migrations error when trying to run the command

I am trying to run the command Enable-Migrations in the NuGet console but I keep getting the following error... PM> enable-migrations System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) Server stac...
entity-framework-6 nuget
asked by user1514213

There is already an object named '__MigrationHistory' in the database

When I tried to execute ...SQLQuery... (generated by ...Update-Database -Verbose -f -Script... locally in Visual Studio) on remote database, I see the following error returned by SQL Server Management Studio:...Msg 2714, Level 16, State 6, Line 1...There ...
asp.net-mvc-5 c# database-migration entity-framework nuget
asked by Amirhossein Mehrvarzi

Your project is not referencing the ".NETFramework,Version=v4.5" framework.

I am using VS 2015....Your project is not referencing the ".NETFramework,Version=4.5" framework. Add a reference to ".NETFramework,Version=4.5" in the "frameworks" section of your project.json, and then re-run NuGet restore....I am getting this erro...
.net entity-framework json nuget visual-studio-2015
asked by S. Loveland ECY

Cannot enable migrations in library project

I installed EF6 in my library project. In the App.config, i added the connection string to a local DB. For EF configuration, i am using EF code based config : App.config:...<entityFramework codeConfigurationType="Com.EF.Example.EFRecordConfiguration, MyPr...
c# entity-framework-6 nuget
asked by Zysce

Manually adding a reference to Entity Framework

I am working on a project that revolves around EF. I have the core layers of my project separated into different projects. ...Unfortunately I constantly get errors that are happening because I am missing a reference to EntityFramework.SqlServer.dll in my...
c# entity-framework nuget reference visual-studio
asked by Kobek

The term 'Add-Migration' is not recognized as the name of a cmdlet, function, script file, or operable program

Please help me fix this issue. Below is my project.json file.... { "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0", "type": "platform" }, "Microsoft.AspNetCore.Diagnostics": "1.0.0", "Microsoft.AspNetCore.S...
asp.net-core entity-framework-6 json nuget
asked by Mubashir Koul

What's the difference between <TargetFramework> and <RuntimeFrameworkVersion>?

I have the following code in a ...csproj... file:...<TargetFramework>netcoreapp1.0</TargetFramework>...In the NuGet package manager, it says that I have ...Microsoft.NETCore.App version 1.0.5...Now lets say I have the following code in the same ...csproj....
.net .net-core entity-framework nuget visual-studio
asked by 8protons

XAF Look up property displays correctly in listview but is null in detailview

I have the following business classes ( simplified )...public class Customer { Customer() { } public int Id {get;set;} public string Name {get;set;} public virtual Category {get;set;} } Public Class Category { public int Id {get;set;} p...
entity-framework-6 nuget xaf
asked by Kirsten Greed

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!