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();
}
}