Asp.net零不附加迁移 [英] Asp.net zero not append migration

查看:112
本文介绍了Asp.net零不附加迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Asp.Net零应用程序,当我尝试为该类添加迁移时,我阅读了它的文档



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)
        {

        }





它是空的



任何人都可以帮助我并告诉我为什么移民没有上诉?????



我尝试过什么:



我在nuget中尝试了这个命令





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"

推荐答案

不,ASP.NET Zero是一个付费解决方案,并且支持它,来自人民你得到了它。



这是你获得支持的地方。 [ ^ ]
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.[^]


这篇关于Asp.net零不附加迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆