difference between primary key and foreign key

pre: entity framework dbcontext connection string
next: related categories