コード例 #1
0
        protected virtual void Generate([NotNull] EnsureSchemaOperation operation, [NotNull] IndentedStringBuilder builder)
        {
            Check.NotNull(operation, nameof(operation));
            Check.NotNull(builder, nameof(builder));

            builder
            .Append(".EnsureSchema(")
            .Append(_code.Literal(operation.Name))
            .Append(")");

            using (builder.Indent())
            {
                Annotations(operation.GetAnnotations(), builder);
            }
        }