public ICompoundKeyRepository <T, TKey, TKey2> GetInstance <T, TKey, TKey2>(string repositoryName = null) where T : class, new()
 {
     return(ConfigurationHelper.GetInstance <T, TKey, TKey2>(this, repositoryName));
 }
 public IRepository <T> GetInstance <T>(string repositoryName = null) where T : class, new()
 {
     return(ConfigurationHelper.GetInstance <T>(this, repositoryName));
 }