You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our company, we use your generator for many years now with many developers. Over the years, we added some features so it works better with our solutions. As a sign of appreciation, I want to suggest some features because I think it will help some other developers as well.
Feature description:
Add an option to insert additional using statements in the generated entity classes.
Feature motivation & example usage:
This can help making the generated classes cleaner when you also add base classes, interfaces, attributes (see other feature request #547 ).
We use it to add the namespace of our added interface in addition.
The option is a ; separated string, so multiple using statements can be added.
using System;using System.Collections.Generic;using Company.Project.Domain.Interfaces;namespace Company.Project.Domain.Entities;publicpartialclassProject:IEntityBase{}
Please review the feature request and evaluate if you think this is an addition to your repo.
(pull request will be added)
Thanks
The text was updated successfully, but these errors were encountered:
ArnaudB88
pushed a commit
to ArnaudB88/EntityFrameworkCore.Generator
that referenced
this issue
Mar 22, 2024
In our company, we use your generator for many years now with many developers. Over the years, we added some features so it works better with our solutions. As a sign of appreciation, I want to suggest some features because I think it will help some other developers as well.
Feature description:
Add an option to insert additional using statements in the generated entity classes.
Feature motivation & example usage:
This can help making the generated classes cleaner when you also add base classes, interfaces, attributes (see other feature request #547 ).
We use it to add the namespace of our added interface in addition.
The option is a ; separated string, so multiple using statements can be added.
YAML usage:
Code generation result:
Please review the feature request and evaluate if you think this is an addition to your repo.
(pull request will be added)
Thanks
The text was updated successfully, but these errors were encountered: