@@ -282,11 +282,11 @@ public void Test_PostgreSQL_FetchData_Entity_Strict_Error_Check()
282282
283283 #endregion
284284
285- #region Execute DDL Tests - << void ExecuteDDL (string ddlStatement ) >>
285+ #region Execute Command Tests - << void ExecuteCommand (string sqlStatement ) >>
286286
287287 [ TestMethod ]
288288 [ TestCategory ( DB_TESTS ) , TestCategory ( POSTGRESQL_TESTS ) ]
289- public void Test_PostgreSQL_ExecuteDDL_Queries ( )
289+ public void Test_PostgreSQL_ExecuteCommand_DDL_Queries ( )
290290 {
291291 var createTableSql = Queries . PostgreSQLQueries . TestDB . DDL . Create_Table ;
292292 var alterTableSql = Queries . PostgreSQLQueries . TestDB . DDL . Alter_Table ;
@@ -300,11 +300,11 @@ public void Test_PostgreSQL_ExecuteDDL_Queries()
300300 var dDLTableColumnCommentCheckSql = Queries . PostgreSQLQueries . TestDB . DDL . DDL_Table_Column_Comment_check ;
301301
302302 var dbContext = new DBContext ( DB . PostgreSQL , PostgreSQLConnectionString ) ;
303- dbContext . ExecuteDDL ( createTableSql ) ;
304- dbContext . ExecuteDDL ( alterTableSql ) ;
305- dbContext . ExecuteDDL ( commentTableSql ) ;
306- dbContext . ExecuteDDL ( commentTableColumnSql ) ;
307- dbContext . ExecuteDDL ( truncateTableSql ) ;
303+ dbContext . ExecuteCommand ( createTableSql ) ;
304+ dbContext . ExecuteCommand ( alterTableSql ) ;
305+ dbContext . ExecuteCommand ( commentTableSql ) ;
306+ dbContext . ExecuteCommand ( commentTableColumnSql ) ;
307+ dbContext . ExecuteCommand ( truncateTableSql ) ;
308308
309309 var tableCount = dbContext
310310 . FetchData ( string . Format ( dDLExecutionCheckSql , "public" , "Employee" ) ) ;
@@ -316,7 +316,7 @@ public void Test_PostgreSQL_ExecuteDDL_Queries()
316316 . FetchData ( string . Format ( dDLTableColumnCommentCheckSql , "public" , "Employee" ) ) ;
317317 Assert . AreEqual ( "This column stores employee middle name" , tableColumnComment [ 3 ] . ReferenceData [ "table_column_comment" ] ) ;
318318
319- dbContext . ExecuteDDL ( renameTableSql ) ;
319+ dbContext . ExecuteCommand ( renameTableSql ) ;
320320
321321 tableCount = dbContext
322322 . FetchData ( string . Format ( dDLExecutionCheckSql , "public" , "Employee" ) ) ;
@@ -325,7 +325,7 @@ public void Test_PostgreSQL_ExecuteDDL_Queries()
325325 . FetchData ( string . Format ( dDLExecutionCheckSql , "public" , "Employees" ) ) ;
326326 Assert . AreEqual ( "1" , tableCount [ 0 ] . ReferenceData [ "table_count" ] ) ;
327327
328- dbContext . ExecuteDDL ( dropTableSql ) ;
328+ dbContext . ExecuteCommand ( dropTableSql ) ;
329329
330330 tableCount = dbContext
331331 . FetchData ( string . Format ( dDLExecutionCheckSql , "public" , "Employees" ) ) ;
0 commit comments