Пример #1
0
        private static void OracleTest()
        {
            IDatabase database = new Oracle();
            UseDatabase useDatabase = new UseDatabase();

            Console.WriteLine(useDatabase.Use(database) + "\n");
        }
Пример #2
0
        private static void SqlServerTest()
        {
            IDatabase database = new SqlServer();
            UseDatabase useDatabase = new UseDatabase();

            Console.WriteLine(useDatabase.Use(database) + "\n");
        }
Пример #3
0
        private static void MySqlTest()
        {
            IDatabase database = new MySql();
            UseDatabase useDatabase = new UseDatabase();

            Console.WriteLine(useDatabase.Use(database) + "\n");
        }