1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
using udb.Client; using udb.Entity.V1; await using var client = new UdbClient( "http://localhost:50051", new UdbMetadata( TenantId: "tenant-1", Purpose: "admin-report", CorrelationId: "csharp-admin-example", Scopes: ["udb:read", "udb:admin"], ServiceIdentity: "example.service", ProjectId: "default", ClientCatalogVersion: "1.0.0")); var response = await client.SelectAsync(new SelectRequest { MessageType = "example.report.v1.ReportExecution", Limit = 25 }); Console.WriteLine($"rows={response.Rows.Count}");