摘要: Dal: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Configuration;using S 阅读全文
posted @ 2020-08-23 20:49 是谁来了 阅读(102) 评论(0) 推荐(0)
摘要: 只写了Mvc using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc; namespace WebApplicationMVC_AJax.Control 阅读全文
posted @ 2020-08-22 09:13 是谁来了 阅读(319) 评论(0) 推荐(0)
摘要: select * from UserInfo 添加存储过程 if OBJECT_ID('P_add') is not nulldrop proc P_addgocreate proc P_add--参数@UserName varchar(100),@UserPwd varchar(100),@Use 阅读全文
posted @ 2020-08-22 09:09 是谁来了 阅读(178) 评论(0) 推荐(0)
摘要: 多条件分页: 分页存储过程--判断存储过程是否存在if OBJECT_ID('proc_Page') is not null--删除存储过程drop proc proc_Pagego--创建存储过程create proc proc_Page--参数@ClaId int=0, --班级Id@Sage 阅读全文
posted @ 2020-08-22 09:08 是谁来了 阅读(131) 评论(0) 推荐(0)
摘要: Api: 数据访问层: public interface Iromdal { //显示房间信息表 List<Room> GetRooms(); //显示房间类别 List<Roomtype> Roomtypes(); //详情反填 Room Fant(int uid); //登录token User 阅读全文
posted @ 2020-08-22 09:04 是谁来了 阅读(190) 评论(0) 推荐(0)
摘要: Api(dapper): Dal :idal List<ManageInfomodel> Show(); ManageInfomodel Fant(int uid); int Del(int id); int Update(int id,int state); int UAdd(ManageInfo 阅读全文
posted @ 2020-08-22 08:50 是谁来了 阅读(203) 评论(0) 推荐(0)