public Dynamic.Table GetOrCreateTable(string name, Dynamic.Setting setting = null) { if (!Kooboo.IndexedDB.Helper.CharHelper.IsValidTableName(name)) { throw new Exception("Only Alphanumeric are allowed to use as table name"); } if (!this.openTableList.ContainsKey(name)) { lock (_locker) { if (!this.openTableList.ContainsKey(name)) { var table = new Dynamic.Table(name, this, setting); this.openTableList[name] = table; } } } return(this.openTableList[name]); }