Example #1
0
 public static IQueryResultsEnumerable <IKeyValue> GetPrivateDataByPartialCompositeKey(this IChaincodeStub stub, string collection, string objectType, params string[] attributes) => stub.GetPrivateDataByPartialCompositeKeyAsync(collection, objectType, attributes).ToSyncEnumerable();
Example #2
0
 public static IQueryResultsEnumerable <IKeyValue> GetPrivateDataByPartialCompositeKey(this IChaincodeStub stub, string collection, CompositeKey compositeKey) => stub.GetPrivateDataByPartialCompositeKeyAsync(collection, compositeKey).ToSyncEnumerable();