efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Dynamic tables in entity framework

Open dvora2000 opened this issue 2 years ago • 1 comments

Dynamic tables in entity framework. The table has to be created when client user activate api. the table name is dynamic (is sent to api) and columns are static. Is it possible to do that in entity framework? how? thanks

dvora2000 avatar Jan 18 '23 21:01 dvora2000

@dvora2000 EF Core isn't generally a good fit for something like this. However, it depends somewhat on what the structure of the table is and what you want to do with it after creating it. For example, is there a .NET type known at compile time that maps to the shape of the table?

ajcvickers avatar Jan 24 '23 18:01 ajcvickers