0
CNS created
i m creating Entity Model from existing databse table using ASP.NET Zero Power Tools . 1- primary Key issue How can i use existing table primary key
1 Answer(s)
-
1
Tool doesn't directly generate from a database table but defines the columns on its own interface. So most of your columns will be defined. However, primary key of generated entity is always "Id" and you can not change that before generation.
To change after generation, see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/993