I have created a Class for connect to database also the column id is autoincrement by the way.
public class AppDbConnect : DbContext {