using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Azylee.DB.SQLite.Engine
{
///
/// 数据接口
///
public interface IDBContext : IDisposable
{
int Add(T EntityObj, bool isSave) where T : class;
int Del(T EntityObj, bool isSave) where T : class;
int Update(T EntityObj, bool isSave) where T : class;
int Save();
T Get(Expression> expression, string[] include) where T : class;
IEnumerable Gets(Expression> expression, string[] include) where T : class;
IEnumerable GetAll(string[] include, bool track) where T : class;
IEnumerable ExecuteSqlCom(string sql, U paramObjs) where T : class where U : class;
}
}