public SQLiteAsyncConnection GetAsyncConnection(string databaseName, bool prefixPlatformPath = true) { var config = new SqLiteConfig(databaseName); var databasePath = GetConnectionString(config, prefixPlatformPath); return(new SQLiteAsyncConnection(databasePath, config.OpenFlags, config.StoreDateTimeAsTicks)); }
public SQLiteAsyncConnection GetAsyncConnection(string databaseName, bool prefixPlatformPath = true) { var config = new SqLiteConfig(databaseName); var databasePath = GetConnectionString(config, prefixPlatformPath); return new SQLiteAsyncConnection(databasePath, config.OpenFlags, config.StoreDateTimeAsTicks); }
public SQLiteAsyncConnection GetAsyncConnection(SqLiteConfig config, bool appendPlatformPath = true) { return(new SQLiteAsyncConnection(() => GetConnectionWithLock(config, appendPlatformPath))); }
public SQLiteConnectionWithLock GetConnectionWithLock(SqLiteConfig config, bool appendPlatformPath = true) { var connectionString = GetConnectionString(config, appendPlatformPath); return(new SQLiteConnectionWithLock(CurrentPlattform, connectionString)); }
protected SQLiteConnectionString GetConnectionString(SqLiteConfig config, bool appendPlatformPath) { var path = appendPlatformPath ? GetPlattformDatabasePath(config.DatabaseName) : config.DatabaseName; return(new SQLiteConnectionString(path, config.StoreDateTimeAsTicks, config.BlobSerializer, config.ContractResolver, config.OpenFlags)); }
public SQLiteAsyncConnection GetAsyncConnection(SqLiteConfig config, bool appendPlatformPath = true) { return new SQLiteAsyncConnection(() => GetConnectionWithLock(config, appendPlatformPath)); }
public SQLiteConnectionWithLock GetConnectionWithLock(SqLiteConfig config, bool appendPlatformPath = true) { var connectionString = GetConnectionString(config, appendPlatformPath); return new SQLiteConnectionWithLock(CurrentPlattform, connectionString); }
public SQLiteConnection GetConnection(SqLiteConfig config) { var connectionString = GetConnectionString(config); return(new SQLiteConnection(CurrentPlattform, connectionString.DatabasePath, connectionString.StoreDateTimeAsTicks, connectionString.Serializer)); }
protected SQLiteConnectionString GetConnectionString(SqLiteConfig config) { var path = GetPlattformDatabasePath(config.DatabaseName); return new SQLiteConnectionString(path, config.StoreDateTimeAsTicks, config.BlobSerializer, config.ContractResolver); }
public SQLiteAsyncConnection GetAsyncConnection(SqLiteConfig config) { return new SQLiteAsyncConnection(() => GetConnectionWithLock(config)); }
public SQLiteConnectionWithLock GetConnectionWithLock(SqLiteConfig config) { var connectionString = GetConnectionString(config); return new SQLiteConnectionWithLock(CurrentPlattform, connectionString); }
protected string GetConnectionString(SqLiteConfig config, bool prefixPlatformPath = true) { var path = prefixPlatformPath ? GetPlattformDatabasePath(config.DatabaseName) : config.DatabaseName; return(path); }
public SQLiteConnection GetConnection(SqLiteConfig config, bool prefixPlatformPath = true) { var databasePath = GetConnectionString(config, prefixPlatformPath); return(new SQLiteConnection(databasePath, config.OpenFlags, config.StoreDateTimeAsTicks)); }
protected string GetConnectionString(SqLiteConfig config, bool prefixPlatformPath = true) { var path = prefixPlatformPath ? GetPlattformDatabasePath(config.DatabaseName) : config.DatabaseName; return path; }
public SQLiteConnectionWithLock GetConnectionWithLock(SqLiteConfig config) { var connectionString = GetConnectionString(config); return(new SQLiteConnectionWithLock(CurrentPlattform, connectionString)); }
protected SQLiteConnectionString GetConnectionString(SqLiteConfig config, bool appendPlatformPath) { var path = appendPlatformPath ? GetPlattformDatabasePath(config.DatabaseName) : config.DatabaseName; return new SQLiteConnectionString(path, config.StoreDateTimeAsTicks, config.BlobSerializer, config.ContractResolver, config.OpenFlags); }
public SQLiteAsyncConnection GetAsyncConnection(SqLiteConfig config) { return(new SQLiteAsyncConnection(() => GetConnectionWithLock(config))); }
public SQLiteConnection GetConnection(SqLiteConfig config, bool appendPlatformPath = true) { var connectionString = GetConnectionString(config, appendPlatformPath); return new SQLiteConnection(CurrentPlattform, connectionString.DatabasePath, connectionString.StoreDateTimeAsTicks, connectionString.Serializer); }
protected SQLiteConnectionString GetConnectionString(SqLiteConfig config) { var path = GetPlattformDatabasePath(config.DatabaseName); return(new SQLiteConnectionString(path, config.StoreDateTimeAsTicks, config.BlobSerializer, config.ContractResolver)); }
public SQLiteConnection GetConnection(SqLiteConfig config, bool prefixPlatformPath = true) { var databasePath = GetConnectionString(config, prefixPlatformPath); return new SQLiteConnection(databasePath, config.OpenFlags, config.StoreDateTimeAsTicks); }