Exemple #1
0
 public static RDFDb Create(string connectionstring)
 {
     RDFDb db = new RDFDb(connectionstring);
     if (db.DatabaseExists())
     {
         db.DeleteDatabase();
     }
     db.CreateDatabase();
     return db;
 }
Exemple #2
0
 //public Table<RDFEntity> entities;
 //public Table<RDFLiteral> literals;
 //public Table<RDFOStatement> ostatements;
 //public Table<RDFDStatement> dstatements;
 public static RDFDb Create(RDFDb db)
 {
     if (db.DatabaseExists())
     {
         db.DeleteDatabase();
     }
     db.CreateDatabase();
     return db;
 }