Skip to content

Williamsoft520/AUV-Entityframework6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUV-Entityframework6

It is a provider for AUV using entityframework 6.1.3.

AUV 为 entityframework 6.1.3 版本的提供器。

Install from Nuget 从 Nuget 进行安装

Install-Package AUV.Entityframework6

Lastest Version v3.0

  • [new]add extension of UnitOfWork
  • [remove]some functions
  • [fix]code, bugs

V2.5

  • [new]Query predicate argument.

      IQuerable<TEntity> query = _repository.Query(m => m.Name == name);
    
  • [new]Remove entity by id extension

      _repository.Remove(id);
    
  • [new]Remove multi entities or multi id extension

      _repository.RemoveByRange(entity1,entity2,entity3);
      _repository,RemoveByRange(id1,id2,id3);
    
  • [new]QueryNoTracking extension

      _repository.QueryNoTracking();
      _repository.QueryNoTracking(m => m.Name == name);
    

How to use?

Read Document

Other Provider

  • AUV.PetaPoco5