Exemplo n.º 1
0
        protected virtual void Generate(DropUserDefinedTypeOperation operation, IndentedStringBuilder builder)
        {
            builder.AppendLine(".DropUserDefinedType(");

            using (builder.Indent())
            {
                builder
                .Append("name: ")
                .Append(Code.Literal(operation.Name));

                if (operation.Schema != null)
                {
                    builder
                    .AppendLine(",")
                    .Append("schema: ")
                    .Append(Code.Literal(operation.Schema));
                }

                builder.Append(")");

                Annotations(operation.GetAnnotations(), builder);
            }
        }