protected void SetUpSessionFactoryHolderType(String customType)
{
Type sessionFactoryHolderType = typeof(SessionFactoryHolder);
if (customType != null && customType != String.Empty)
{
String typeName = customType;
sessionFactoryHolderType = Type.GetType(typeName, false, false);
if (sessionFactoryHolderType == null)
{
String message = String.Format("The type name {0} could not be found", typeName);
throw new ActiveRecordException(message);
}
}
SessionFactoryHolderImplementation = sessionFactoryHolderType;
}