请帮我创建一个Web Api来更新sql server数据 [英] Please help me want to create a Web Api to update sql server data
本文介绍了请帮我创建一个Web Api来更新sql server数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们
请帮帮我,我想用asp.net制作api,根据它接受值和更新
喜欢这个
Http://abcd.com/ id = 12&orderno = 123&name ='Ravi'
所以基本上ravi应该更新为名称,其中orderno是123
提前感谢问候
Rajkumar Saroj
Dear Friends
Please help me i want to make an api with asp.net that accepts values and updates according to it
Like this
Http://abcd.com/ id=12& orderno=123& name='Ravi'
So basically ravi sould be updates as name where orderno is 123
Thank in advance regards
Rajkumar Saroj
推荐答案
我建议你去首先了解WebAPI。
请参阅此内容,
ASP.NET Web API 2入门 [ ^ ]
创建第一个ASP.NET Web API服务的3个简单步骤 [ ^ ]
如何创建Web API [ ^ ]
-KR
I'd suggest you to first learn about the WebAPI.
Refer this,
Getting Started with ASP.NET Web API 2[^]
3 simple steps to create your first ASP.NET Web API service[^]
How to Create Web API[^]
-KR
你也可以看看
使用FluentNHibernate 使用ASP.NET Web API进行CRUD操作,存储库模式 [ ^ ]
万一你更有兴趣了解它re。
希望它有所帮助!
You can also look at
CRUD Operations with ASP.NET Web API using FluentNHibernate, Repository Pattern[^]
in case you are more interested to learn about it more.
Hope it helps!
这篇关于请帮我创建一个Web Api来更新sql server数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文