using (var context = new BookStore()) { Author author = new Author() { FirstName = "Mark", LastName = "Johny", }; context.Authors.Add(author); context.SaveChanges(); }