private NoSqliteStorage(SqliteDB internalDb) { this.internalDb = internalDb; createDocumentTable(); }
/// <summary> /// Create a new instance based on an existing SqliteDB /// </summary> public static NoSqliteStorage FromDB(SqliteDB db) { return(new NoSqliteStorage(db)); }
/// <summary> /// Create a new instance based on an existing SqliteDB /// </summary> public static ConfigurationDB FromDB(SqliteDB db) { return(new ConfigurationDB(db)); }
private ConfigurationDB(SqliteDB internalDb) { this.internalDb = internalDb; createConfigTable(); }
/// <summary> /// Creates a new instance /// </summary> public TableMapper(SqliteDB database, ReaderCachedCollection typeCollection) { db = database; this.typeCollection = typeCollection; tables = new List <Table>(); }