예제 #1
0
 public void Initialize()
 {
     new BurrowFramework().InitWorkSpace(true, null, string.Empty);
     DataProvider dpa = (DataProvider) Attribute.GetCustomAttribute(GetType(), typeof (DataProvider), true);
     if (dpa != null)
     {
         tdp = dpa.CreateDataProvider();
     }
     else
     {
         tdp = CreateDataProvider();
     }
     SetUp();
 }
예제 #2
0
        public void Initialize()
        {
            new BurrowFramework().InitWorkSpace(true, null, string.Empty);
            DataProvider dpa = (DataProvider)Attribute.GetCustomAttribute(GetType(), typeof(DataProvider), true);

            if (dpa != null)
            {
                tdp = dpa.CreateDataProvider();
            }
            else
            {
                tdp = CreateDataProvider();
            }
            SetUp();
        }