Hi UsaPop-1381,
The CreateTableOperation class represents creating a table.
And as document said, Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application).
If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.
For custom migrations, you can define custom MigrationOperation objects.
Here are some related links:
Custom Migrations Operations
How to customize migration generation in EF Core Code First?
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.