public static RDFDb Create(string connectionstring) { RDFDb db = new RDFDb(connectionstring); if (db.DatabaseExists()) { db.DeleteDatabase(); } db.CreateDatabase(); return db; }
//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; }