Skip to content

关于UseAutoTryCompensateTable()方法的一些建议 #305

@TanShuJun1985

Description

@TanShuJun1985

1、在开发阶段可能会经常更改数据表结构,但是UseAutoTryCompensateTable方法中使用了dbContext.Database.EnsureCreated();这个只能在空数据库中才有效,中途修改model后将无任何作用。
2、UseAutoTryCompensateTable方法中CreateDataTable方法,如果中途修改了model属性,并不会更新数据库

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions