22 lines
429 B
C#
22 lines
429 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Data;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Linq.Expressions;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace JinYuan.DAL.Service
|
||
|
|
{
|
||
|
|
public interface IBaseService<T> where T : class, new()
|
||
|
|
{
|
||
|
|
List<T> GetList();
|
||
|
|
|
||
|
|
DataTable GetDataTable();
|
||
|
|
|
||
|
|
bool Add(T model);
|
||
|
|
bool Update(T model);
|
||
|
|
bool SoftDelete(int id);
|
||
|
|
}
|
||
|
|
}
|