Skip to content

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

Open
ArnaudB88 wants to merge 1 commit into
loresoft:masterfrom
ArnaudB88:feature/545-AdditionalUsings
Open

Closes #545 Add option for additional using statements in the entity#546
ArnaudB88 wants to merge 1 commit into
loresoft:masterfrom
ArnaudB88:feature/545-AdditionalUsings

Conversation

@ArnaudB88

@ArnaudB88 ArnaudB88 commented Mar 22, 2024

Copy link
Copy Markdown

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
{
}

@github-actions

Copy link
Copy Markdown
Contributor

⏰ Stale Pull Request

No activity for 1 year. Will close in 45 days unless updated.
To keep open, push commits, comment, or remove the stale label.

@github-actions github-actions Bot added the stale label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add option to insert additional using statements for the entity

1 participant