The entity type 'Log' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'. code example
Example: The entity type 'Palavra' requires a primary key to be defined
public int Id { get; protected set; }
public int Id { get; protected set; }