| | |
| | | return await _db.InsertNav(Entity).IncludesAllFirstLayer().ExecuteCommandAsync(); |
| | | } |
| | | |
| | | public async Task<bool> AddDataNavAsync(List<TEntity> Entity) |
| | | { |
| | | return await _db.InsertNav(Entity).IncludesAllFirstLayer().ExecuteCommandAsync(); |
| | | } |
| | | |
| | | public Task<int> AddDataAsync(List<TEntity> listEntity) |
| | | { |
| | | IInsertable<TEntity> insert = _db.Insertable(listEntity); |
| | |
| | | return _db.UpdateNav(Entity).IncludesAllFirstLayer().ExecuteCommand(); |
| | | } |
| | | |
| | | public bool UpdateDataNav(List<TEntity> Entity) |
| | | { |
| | | return _db.UpdateNav(Entity).IncludesAllFirstLayer().ExecuteCommand(); |
| | | } |
| | | |
| | | public bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType) |
| | | { |
| | | Type type = entity.GetType(); |