예제 #1
0
 public SqlRepository(string filename)
 {
     DatabaseName = filename;
     _createSchema = new CreateSchema(this);
     _contentDao = new ContentDao(_sqliteCon);
     _linkDao = new LinkDao(_sqliteCon);
     _urlDao = new UrlDao(_sqliteCon, _contentDao, _linkDao);
 }
예제 #2
0
 internal UrlDao(SQLiteConnection sqliteCon, ContentDao contentDao, LinkDao linkDao)
     : base(sqliteCon)
 {
     _contentDao = contentDao;
     _linkDao = linkDao;
 }