EntityFrameworkCore.Generator icon indicating copy to clipboard operation
EntityFrameworkCore.Generator copied to clipboard

Closes #545 Add option for additional using statements in the entity

Open ArnaudB88 opened this issue 11 months ago • 0 comments

Resolves #545 Add an option to insert additional using statements in the generated entity classes.

YAML usage:

data:
  entity:
    baseClass: 'IEntityBase'
    additionalUsings: 'Company.Project.Domain.Interfaces'

Code generation result:

using System;
using System.Collections.Generic;
using Company.Project.Domain.Interfaces;

namespace Company.Project.Domain.Entities;

public partial class Project
    : IEntityBase
{
}

ArnaudB88 avatar Mar 22 '24 09:03 ArnaudB88