/// <summary> /// Run MetaData_Search, and return results as a list of MetaDataRow. /// </summary> /// <param name="fldMetaDataName">Value for MetaDataName</param> /// <returns>A collection of MetaDataRow.</returns> public static List <MetaDataContract> SearchNow(string fldMetaDataName ) { var driver = new MetaDataLogic(); driver.Search(fldMetaDataName ); return(driver.Results); }
/// <summary> /// Run MetaData_Search, and return results as a list of MetaDataRow. /// </summary> /// <param name="fldMetaDataName">Value for MetaDataName</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of MetaDataRow.</returns> public static List <MetaDataContract> SearchNow(string fldMetaDataName , SqlConnection connection, SqlTransaction transaction) { var driver = new MetaDataLogic(); driver.Search(fldMetaDataName , connection, transaction); return(driver.Results); }