How to generate default sql value in entity framework code first migration file

后端 未结 0 863
灰色年华
灰色年华 2021-02-01 21:33

We have defined a base class as

public class BaseSchema
{
    [Key]
    [ScaffoldColumn(false)]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    publ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题