public void TestStoredClassesByAssembly() { Hashtable classesByAssembly = DbInformation.StoredClassesByAssembly(); foreach (DictionaryEntry entry in ClassesCollectionByAssembly(typeof(Item), typeof(Element))) { Assert.IsTrue(classesByAssembly.ContainsKey(entry.Key)); CollectionAssert.AreEqual((IEnumerable)entry.Value, (IEnumerable)classesByAssembly[entry.Key]); } }
public DataInserter() { InitializeComponent(); this.height_start = this.Height; this.dbInformation = new DbInformation(); this.dbFlyAway = new DbExecute(); //Set up this.ConfigureConnection(); }
public void TestStoredClasses() { Hashtable classes = DbInformation.StoredClasses(); CollectionAssert.AreEqual(ClassesCollection(typeof(Item), typeof(Element)), classes); }
public dbInteraction() { dbInfo = new DbInformation(); clsRenderHierarchy = new RenderHierarchy(); }
public long DbCreationTime() { return(DbInformation.getDatabaseCreationTime()); }
public long GetTotalDbSize() { return(DbInformation.getTotalDatabaseSize()); }
public long GetFreeSizeOfDb() { return(DbInformation.GetFreeSizeofDatabase()); }
public int NoOfClassesInDb() { return(DbInformation.GetNumberOfClassesinDB()); }
public Hashtable FetchAllStoredClassesForAssembly() { return(DbInformation.StoredClassesByAssembly()); }
public Hashtable FetchAllStoredClasses() { return(DbInformation.StoredClasses()); }