public IClassMetadata GetClassMetadata(string entityName)
 {
     // assumption is that all session factories are configured the same way,
     // so it doesn't matter which session factory answers this question
     return(AnyFactory.GetClassMetadata(entityName));
 }
 /// <summary>
 /// Get the <c>ClassMetadata</c> associated with the given entity class
 /// </summary>
 /// <param name="persistentType"></param>
 /// <returns></returns>
 public IClassMetadata GetClassMetadata(System.Type persistentType)
 {
     // assumption is that all session factories are configured the same way,
     // so it doesn't matter which session factory answers this question
     return(AnyFactory.GetClassMetadata(persistentType));
 }