public override void SetUp() { base.SetUp(); // Run inherited method first // Get connection to database fConnection = this.Connection; // Create IDbCommand object iCommand = fConnection.CreateCommand(); // Create a resolver object fFbResolver = (FbResolver)fConnection.GetResolver(); // Define table name for tests fTableName = "TEST"; fColumnCount = 15; // Number of columns in the TEST table // Define name for Primary Key field in TEST fKeyField = "INT_FIELD"; // Define default BdpUpdateMode fUpdateMode = BdpUpdateMode.Key; // Get list of columns for table fSelectCmd = new StringBuilder(); fSelectCmd.AppendFormat("SELECT * FROM {0}", fTableName); iCommand.CommandText = fSelectCmd.ToString(); fMetaData = (FbMetaData)fConnection.GetMetaData(); fTestTable = fMetaData.GetSchemaTable(null, iCommand, null); fColumns = fTestTable.Rows; // Create expectedValue object fExpectedValue = new StringBuilder(); }