Beispiel #1
0
        public static Task <DatabaseObject[]> LoadKeysAsync(this BigDB bigDB, string table, params string[] keys)
        {
            var tcs = new TaskCompletionSource <DatabaseObject[]>();

            bigDB.LoadKeys(table, keys, tcs.SetResult, tcs.SetException);
            return(tcs.Task);
        }