示例#1
0
        public static async Task AddColumn(string dbName, string tableName, string columnName, string columnType)
        {
            var reply = await client.AddColumnAsync(new AddColumnRequest
            {
                DatabaseName = dbName,
                TableName    = tableName,
                ColumnName   = columnName,
                ColumnType   = columnType
            });

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Column added:");
            Console.WriteLine(reply.DatabaseName + ", " + reply.TableName + ", " + reply.ColumnName + ", " + reply.ColumnType);
        }