Migrations Design: Invalid 'using' statements for default namespace
See original GitHub issueInvalid using ;
added to generated migration file because this simple project has no default namespace.
Setup https://gist.github.com/natemcmaster/90e2388c0ee1d29f440a.
Using dnx 1.0.0-beta6-12114 , EF 7.0.0-beta6-13584
dnx . ef migration add Initial
produces 20150624223653_Initial.Designer.cs
which includes this at the top of the file:
using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Relational.Migrations.Infrastructure;
using ;
The same using block appears in ModelSnapshot.cs
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
'Migrations' does not exist in the namespace 'Microsoft. ...
Ok, I will show you the minimal setup required for EF Core + Migrations: You will need to install Microsoft.EntityFramework.
Read more >Managing Migrations - EF Core
You are free to move Migrations files and change their namespace manually. New migrations are created as siblings of the last migration.
Read more >Migrations and Seed Data With Entity Framework Core
We are going to learn about Migrations and Seed data in Entity Framework Core and how to optimize EF Core migrations.
Read more >Entity Framework Core Migrations
The migrations feature in Entity Framework Core enables you to make changes to your model ... Migrations are enabled by default in EF...
Read more >7.2.1 Creating a Database with Code First in EF Core
The Code First approach enables you to define an entity model in code, create a database from the model, and then add data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BennyM I love the enthusiasm! Feel free to check out some of our other up-for-grabs issues if you’re still interested in submitting a PR. 😉
Fix the build error.