Skip to content

How do you utilize the entity scripts? #249

Description

@vandert

My goal is to prevent 2 fields from being created when generating the entity files. I modified the .csx file with the following:

foreach (var property in Entity.Properties)
    {
        // Skip properties
        if (Entity.EntityClass == "FuelOrder")
        {
            if (property.PropertyName == "ESignature"
                || property.PropertyName == "ESignatureImage")
            {
                continue;
            }
        }

This generated a yaml file for FuelOrder without the 2 fields, however, the .cs file contained the 2 fields. What am I missing? How do I use the templates after generating them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions