c# - No CreateStoredProcedure method on Entity Framework Core -


i want create stored procedure using migration builder there no

createstoredprocedure

method in migration class this.

public override void up()  {   createstoredprocedure(     "mystoredprocedure",     p => new     {         id = p.int()     },     @"select some-data my-table id = @id"   ); }  public override void down()  {   dropstoredprocedure("mystoredprocedure"); } 

how create stored procedure in migration using entity framework core?

use can use migrationbuilder.sql() method execute arbitrary sql in migrations ef core


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -