IDAL接口

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LC.IDAL
{
public interface IDALBase<T> where T:class,new()
{
int Add(T t);
int Update(T t);
int Delete(int Id);
T QueryById(int Id);
}
}

/////

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LC.IDAL
{
using Entity;
public interface IVIPUsers:IDALBase<VIPUsers>
{
List<VIPUsers> Query();
}
}

posted @ 2018-11-22 18:26  嘻嘻哈哈嘿嘿呀  阅读(197)  评论(0编辑  收藏  举报