对于我的网站,我能够在我的数据库中显示帐户表的每一个细节。我的AccountStatus在数据库中有两个值:"Approved“和"Rejected”。我目前使用的是带有EF核心和SQL server的ASP.net核心MVC。型号: public class AccountModel [Key]
public
我想为EF中的实体自定义映射public class User public int UserId { get;set;} public string ColA {get; set;}}
它已经在常用的EF中的OnModelCreating如果我在两个独立的程序集中有两个函数,调用AssemblyA.dll和AssemblyB.