public void Remove(SessionFactoryElement sessionFactory)
 {
     if (BaseIndexOf(sessionFactory) >= 0)
     {
         BaseRemove(sessionFactory.Name);
     }
 }
 public void Add(SessionFactoryElement sessionFactory)
 {
     BaseAdd(sessionFactory);
 }
        public SessionFactoriesCollection()
        {
            SessionFactoryElement sessionFactory = (SessionFactoryElement)CreateNewElement();

            Add(sessionFactory);
        }
 public int IndexOf(SessionFactoryElement sessionFactory)
 {
     return(BaseIndexOf(sessionFactory));
 }