.net core 连接mysql 四:建立 ISysUserRepository
作者:互联网
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using fjxw.model;
namespace fjxw.dal
{
public interface ISysUserRepository:IDisposable
{
IEnumerable<sysuser> GetUsers();
sysuser GetUserByID(int userID);
void InsertUser(sysuser user);
void DeleteUser(int userID);
void UpdateUser(sysuser user);
void Save();
}
}
标签:core,fjxw,void,System,ISysUserRepository,sysuser,mysql,using,user 来源: https://www.cnblogs.com/wugh8726254/p/16062219.html