protected OnTearDown ( string testName, IQuery query ) : bool | ||
testName | string | |
query | IQuery | |
리턴 | bool |
protected override bool OnTearDown(string testName, IQuery query)
{
query.Access().DropAllTableConstraints(tableName);
query.Access().DropObject(DbObjectType.Table, tableName);
if (testName == "WithUserType") {
var typeName = ObjectName.Parse("APP.test_type");
query.Access().DropType(typeName);
}
return true;
}