public ShardConfig ShardSessionFactory <TShardSessionFactory>() where TShardSessionFactory : IShardSessionFactory
 {
     RepositoryFramework.RegisterShardSessionFactory(entityType, typeof(TShardSessionFactory));
     return(this);
 }