msdn   5878

« earlier    

Entity Framework Core 2.1: Heck Yes, It’s Production Ready!
Now you can use the non-entity type with a FromSql query that calls the stored procedure. This query uses a dynamic context.Query<TeamCommute>() rather than defining the DbQuery in the TeamContext class.

var teamlist = context.Query<TeamCommute>()
.FromSql("EXEC GetCommuteTimes {0}",101)

Note that the documentation at says that you can return arbitrary types from the FromSql method. The term arbitrary doesn’t mean any undefined class. You’ll have to pre-define the class and configure it in the model, as described above.
dotnet  aspnet  c#  dataaccess  database  orm  msdn  adonet 
20 days ago by dstelow
Learn to Develop with Microsoft Developer Network | MSDN
Microsoft's welcome mat for developers. Includes links to Visual Studio subscriptions, MSDN magazines, and "Developer Centers" for various technologies.
microsoft  msdn  development 
12 weeks ago by l1nktrackr
MSDN Magazine Issues
MSDN Magazines for download, 2003 to current.
development  msdn 
12 weeks ago by l1nktrackr

« earlier    

related tags

aad  actionpack  adonet  ai  alm  alwayson  api  app  appcontainer  architecture  arm  ase  asf  aspnet  asr  authentication  availability  aws  azure  b2c  backup  blog  blogs  bookmarks_bar  bot  browser  business  c#  c++  clang  cloud  codegeneration  coding  comparison  conference  config  configuration  containers  cryptocurrency  csa  csharp  data  dataaccess  database  dataset  deployment  design  dev-csharp  dev  development  devops  diagnostics  digital  disasterrecovery  docker  documentation-uwp  documentation  dotnet  download  enterprise  error-handling  finance  functions  games  git  gpo  group  guidance  guidelines  ha  hadr  hana  hardware  highavailability  hli  hn  howto  iaas  iis  ilb  iot  ip  iptables  kernel  kids  kodu  license  links  linux  list  lists  magazine  maintenance  memory  microservices  microsoft  migration  mobile  monitoring  mssql  network  networking  oauth2  office365  oracle  orm  paas  patterns  pdf  performance  policy  portal  powershell  ppt  presentation  programming  publicdata  reference  registry  replication  rest  routing  sample  sap  secondlife  security  server  serverless  services  sharepoint  skype  software  source  sql  sql2016  sql2017  sqldb  sqldw  sqltact  ssis  ssrs  standards  statistics  storage  stratregy  sysadmin  t4  table  technet  tfs  timestamp  timing  tool  top10  troubleshooting  tutorials  uwp  vcs  vdc  video  visualstudio  volume  vpn  vso  vsts  wdm  web  webapi  webapis  webassembly  webcast  webdev  webservices  win10  win32  windows  xamarin  xamarinforms  xml  xpath  xpath1  下载  互动实例  系统 

Copy this bookmark: