示例#1
0
 public void add(Models.Author author)
 {
     using (BookLibrary dc = new BookLibrary(connectionString, mapping))
     {
         dc.addAuthor(author.Id, author.name);
     }
 }