public ShardConfig ShardStrategy <TShardStrategy>(IDictionary <string, string> attributes = null) where TShardStrategy : IShardStrategy { RepositoryFramework.RegisterShardStragety(entityType, typeof(TShardStrategy), attributes); return(this); }