Exemplo n.º 1
0
 /// <summary>Snippet for ExecuteBatchDml</summary>
 public void ExecuteBatchDml_RequestObject()
 {
     // Snippet: ExecuteBatchDml(ExecuteBatchDmlRequest,CallSettings)
     // Create client
     SpannerClient spannerClient = SpannerClient.Create();
     // Initialize request argument(s)
     ExecuteBatchDmlRequest request = new ExecuteBatchDmlRequest
     {
         SessionAsSessionName = new SessionName("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"),
         Transaction          = new TransactionSelector(),
         Statements           = { },
         Seqno = 0L,
     };
     // Make the request
     ExecuteBatchDmlResponse response = spannerClient.ExecuteBatchDml(request);
     // End snippet
 }