| | |
| | | using System.Linq.Expressions; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.Enums; |
| | | |
| | | namespace WIDESEA_Core.BaseRepository |
| | | { |
| | |
| | | bool DeleteDataById(object id); |
| | | |
| | | Task<bool> DeleteDataByIdAsync(object id); |
| | | |
| | | bool DeleteAndMoveIntoHty(TEntity entity, OperateType operateType); |
| | | |
| | | bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateType operateType); |
| | | |
| | | /// <summary> |
| | | /// 閫氳繃涓婚敭鏁版嵁鍒犻櫎澶氭潯鏁版嵁 |
| | |
| | | Expression<Func<T, T2, bool>> whereExpressionT1, |
| | | Expression<Func<TResult, bool>> whereExpression); |
| | | |
| | | List<TResult> QueryTabs<T, T2, TResult>( |
| | | Expression<Func<T, T2, bool>> joinExpression, |
| | | Expression<Func<T, T2, TResult>> selectExpression, |
| | | Expression<Func<T, bool>> whereExpressionT1, |
| | | Expression<Func<T2, bool>> whereExpressionT2, |
| | | Expression<Func<TResult, bool>> whereExpression); |
| | | |
| | | |
| | | Task<List<TResult>> QueryTabsAsync<T, T2, TResult>( |
| | | Expression<Func<T, T2, object[]>> joinExpression, |
| | | Expression<Func<T, T2, TResult>> selectExpression, |