As you can see, you are getting System.Data.Entity errors, and they, at least in this case, have nothing to do with the code you posted.
For the Entity Framework, you need to know in which field it should be defined as the primary key. You can tell how to do this in two ways.
"Id" "Id" , .
,
public class Album
{
public string Id {get; set;}
public string Name {get; set;}
}
public class Album
{
public string AlbumId {get; set;}
public string Name {get; set;}
}
EF , Id AlbumId .
, , System.ComponentModel.DataAnnotations [Key] .
, Name .
using System.ComponentModel.DataAnnotations;
public class Album
{
[Key]
public string Name {get; set;}
}