Click here to Skip to main content
14,218,548 members
Rate this:
Please Sign up or sign in to vote.
I'm using Asp.Net zero app and I read the documentation for it when I trying to add migration for the class

public class MyEdition : Edition
    {
        public virtual int Price { get; set; }
    }


the migration not append and just be like this
public partial class Added_MyEdition_Entity : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {

        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {

        }


it is empty

could anyone help me and tell me why migration not appened ?????

What I have tried:

I tried the command in nuget

Add-Migration "Added_MyEdition_Entity"
Posted
Updated 3-Sep-17 3:55am
Comments
Kornfeld Eliyahu Peter 3-Sep-17 8:53am
   
As ASP.NET Zero is a payed solution, you should have support with it...
Sarah Mohammed77 3-Sep-17 9:08am
   
yes the documentatin , and I applied it but it not update in migration as you see

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

No, ASP.NET Zero is a paid solution and with that comes support for it, from the people you got it from.

This is where you go to get support on it.[^]
   
v2
Comments
Richard Deeming 5-Sep-17 15:59pm
   
Nit-picking: ASP.NET Zero is a paid solution; ASP.NET itself is not. :)
Dave Kreskowiak 5-Sep-17 16:35pm
   
That's what I get for doing this on my phone.

Fixed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100