public void GetAllColumnInfos_moreThan1_pass() { TableInfo parent = new TableInfo(CatalogueRepository, "Slalom"); try { var ci = new ColumnInfo(CatalogueRepository, "MyAwesomeColumn", "varchar(1000)", parent); try { Assert.IsTrue(CatalogueRepository.GetAllObjectsWithParent <ColumnInfo>(parent).Count() == 1); } finally { ci.DeleteInDatabase(); } } finally { parent.DeleteInDatabase(); } }
public void ClearAllInjections() { _knownExtractionFilterParameterSets = new Lazy <ExtractionFilterParameterSet[]>(() => CatalogueRepository.GetAllObjectsWithParent <ExtractionFilterParameterSet>(this)); }