FastCrud
FastCrud copied to clipboard
Dapper.FastCrud.ModelGenerator class access modifier
It would be great to be able to configure the access modifier of the generated models, so they can be internal instead of public for example.
That can be easily achieved by adding a config property in the config .tt file and using it inside the model generator .tt file. A pull request for this would be really appreciated.
Just wondering if we can make the same change for generated properties to add = default!; ? (handling Warning CS8618)
Added customizations for both the class and the property modifiers. Also added a warning pragma for CS8618.