/// <summary> /// Insert one row /// </summary> /// <param name="pFileString">File String</param> /// <param name="pSelectSQL">Select Statement</param> /// <param name="pDataReader">DataReader</param> /// <returns>bool</returns> public static bool Insert_1_Row(string pFileString, string pSelectSQL, System.Data.Common.DbDataReader pDataReader) { /* * NOTE FROM EPI1: The original contents of this method have been moved to SqlDatabase.Insert_1_Row * and OleDbDatabase.Insert_1_Row. * */ bool result = false; string connString = ParseConnectionString(pFileString); if (DataSource != null) { IDbDriver driver = DataSource.CreateDatabaseObject(new System.Data.Common.DbConnectionStringBuilder()); driver.ConnectionString = connString; result = driver.Insert_1_Row(pSelectSQL, pDataReader); } return(result); }