示例#1
0
 private void InitializeConnection()
 {
     connection       = (SqlConnection)SzpifDatabase.getEmptyConnection();
     connectionString =
         "Data Source=localhost\\SQLEXPRESS;"
         + "Initial Catalog=szpifDatabase;"
         + "Integrated Security=SSPI;";
     SzpifDatabase.Connection = connection;
 }
示例#2
0
        public void constructorTest()
        {
            SzpifDatabase d = SzpifDatabase.DataBase;

            Assert.IsNotNull(d);
        }
示例#3
0
 public void makeDatabase()
 {
     database = SzpifDatabase.DataBase;
 }