/// <summary> /// Run ElectionLevel_Search, and return results as a list of ElectionLevelRow. /// </summary> /// <param name="fldElectionLevelTitle">Value for ElectionLevelTitle</param> /// <returns>A collection of ElectionLevelRow.</returns> public static List <ElectionLevelContract> SearchNow(string fldElectionLevelTitle ) { var driver = new ElectionLevelLogic(); driver.Search(fldElectionLevelTitle ); return(driver.Results); }
/// <summary> /// Run ElectionLevel_Search, and return results as a list of ElectionLevelRow. /// </summary> /// <param name="fldElectionLevelTitle">Value for ElectionLevelTitle</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of ElectionLevelRow.</returns> public static List <ElectionLevelContract> SearchNow(string fldElectionLevelTitle , SqlConnection connection, SqlTransaction transaction) { var driver = new ElectionLevelLogic(); driver.Search(fldElectionLevelTitle , connection, transaction); return(driver.Results); }