The entity type 'Employee1' requires a primary key to be defined code example Example: The entity type 'Palavra' requires a primary key to be defined public int Id { get; protected set; }