public string GetDatabaseName() { IDbConnection cn = SQLitePlugin.CreateConnection(context.ConnectionString); string dbName = cn.Database; int index = dbName.LastIndexOfAny(new char[] { '\\' }); if (index >= 0) { dbName = dbName.Substring(index + 1); } return(dbName); }
public string GetFullDatabaseName() { IDbConnection cn = SQLitePlugin.CreateConnection(context.ConnectionString); return(cn.Database); }