Esempio n. 1
0
 public void AddHrefToBook(long bookId, Hyperlink hyperlink)
 {
     DB.Execute("insert into book_href values(?,?)", bookId, AddHyperlink(hyperlink));
 }
Esempio n. 2
0
 public bool Equals(Hyperlink other)
 {
     return this.Href == other.Href;
 }
Esempio n. 3
0
 public long AddHyperlink(Hyperlink hyperlink)
 {
     return DB.ExecuteScalar<long>("insert into hyperlink values(NULL,?,?); select last_insert_rowid()", hyperlink.Name, hyperlink.Href);
 }