public void PrimaryKeysTest() { TSqlModel Model = new TSqlModel(@"DacToolsDb.dacpac"); foreach (var table in Model.Tables()) { Assert.IsNotNull(table.PrimaryKeyColumns()); Assert.IsTrue(table.PrimaryKeyColumns().Count > 0); foreach (var column in table.PrimaryKeyColumns()) { Assert.IsFalse(string.IsNullOrEmpty(column.Name.ToString())); } } }