Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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

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.[^]
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900