Exemple #1
0
 public ShardingQueryable(IQueryable <T> source, ShardingRepository repository, string absDbName)
 {
     _source       = source;
     _absTableName = AnnotationHelper.GetDbTableName(source.ElementType);
     _absDbName    = absDbName;
     _repository   = repository;
 }
 public ShardingQueryable(IQueryable <T> source, ShardingRepository repository, string absDbName)
 {
     _source       = source;
     _absTableType = source.ElementType;
     _absTableName = _absTableType.Name;
     _absDbName    = absDbName;
     _repository   = repository;
 }