Esempio n. 1
0
        /// <summary>
        /// Get DatabaseFactory Instance
        /// </summary>
        /// <returns>DatabaseFactory Instance</returns>
        public static DatabaseFactory GetInstance()
        {
            if (databaseFactory == null)
            {
                databaseFactory = new DatabaseFactory();
            }

            return databaseFactory;
        }
Esempio n. 2
0
 /// <summary>
 /// Resource Private Constructor
 /// </summary>
 private ResourceManager()
 {
     databaseFactory = DatabaseFactory.GetInstance();
 }