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(); }
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(); }