Home > Net >  <span> data - v - 93948064 in the WebAPI how to batch build OData EFCore model Controller <
<span> data - v - 93948064 in the WebAPI how to batch build OData EFCore model Controller <

Time:08-26

used with.net Framework & # xff0c; Recently began to learn the.net 5...

now are working on a technical solution & # xff1a; To access the database using EF Core & # xff0c; Server with the Web API & # xff0c; For the client to access the data service interface is OData...

the official data in the tutorial & # xff0c; Build the corresponding ODataController need to give each EF object & # xff08; A corresponding database table & # xff09; Build a Controller, but because of my data structure LiBiao many & # xff08; About three hundred # & xff09; , If the Controller built one by one is too cumbersome ~

so I want to ask what method or third-party tools can according to EF Core model batch build ODataController & # xff0c; Or how to create a generic ODataController to accommodate all EF Core object

  •  Tags:  
  • Related