コード例 #1
0
ファイル: RequestSender.cs プロジェクト: Vitaliy320/grpc
        public static async Task CreateTable(string dbName, string tableName)
        {
            var reply = await client.CreateTableAsync(new CreateTableRequest
            {
                DatabaseName = dbName,
                TableName    = tableName
            });

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Table created:");
            Console.WriteLine(reply.DatabaseName + ", " + reply.TableName);
        }