Skip to content

CRUD: entity ctor generation improvement #175

Description

@gdlcf88
  • Automatically copy the [NotNull] and [CanBeNull] attributes as args of the ctor.
  • Generate Check.NotNull(xxx, nameof(xxx)); for string properties if they have the [NotNull] attribute.
  • Generate MyList = new List<MyType>(); instead of MyList = myList for all the collection-type properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions