예제 #1
0
        // </Snippet6>

        // <Snippet7>
        public void CreateDatabase2()
        {
            MyDVDs db = new MyDVDs(@"c:\mydvds.mdf");

            if (db.DatabaseExists())
            {
                Console.WriteLine("Deleting old database...");
                db.DeleteDatabase();
            }
            db.CreateDatabase();
        }
예제 #2
0
        // <Snippet6>
        public void CreateDatabase()
        {
            MyDVDs db = new MyDVDs("c:\\mydvds.mdf");

            db.CreateDatabase();
        }