/// <summary> /// Run OrganizationMetaData_SelectAll, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SelectAllNow() { var driver = new OrganizationMetaDataLogic(); driver.SelectAll(); return(driver.Results); }
/// <summary> /// Read all OrganizationMetaData rows from the provided reader into the list structure of OrganizationMetaDataRows /// </summary> /// <param name="reader">The result of running a sql command.</param> /// <returns>A populated OrganizationMetaDataRows or an empty OrganizationMetaDataRows if there are no results.</returns> public static List <OrganizationMetaDataContract> ReadAllNow(SqlDataReader reader) { var driver = new OrganizationMetaDataLogic(); driver.ReadAll(reader); return(driver.Results); }
/// <summary> /// Run OrganizationMetaData_SelectAll, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SelectAllNow(SqlConnection connection, SqlTransaction transaction) { var driver = new OrganizationMetaDataLogic(); driver.SelectAll(connection, transaction); return(driver.Results); }
/// <summary> /// Run OrganizationMetaData_SelectBy_MetaDataId, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <param name="fldMetaDataId">Value for MetaDataId</param> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SelectBy_MetaDataIdNow(int fldMetaDataId ) { var driver = new OrganizationMetaDataLogic(); driver.SelectBy_MetaDataId(fldMetaDataId ); return(driver.Results); }
/// <summary> /// Run OrganizationMetaData_Search, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <param name="fldMetaDataValue">Value for MetaDataValue</param> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SearchNow(string fldMetaDataValue ) { var driver = new OrganizationMetaDataLogic(); driver.Search(fldMetaDataValue ); return(driver.Results); }
/// <summary> /// Run OrganizationMetaData_SelectBy_MetaDataId, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <param name="fldMetaDataId">Value for MetaDataId</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SelectBy_MetaDataIdNow(int fldMetaDataId , SqlConnection connection, SqlTransaction transaction) { var driver = new OrganizationMetaDataLogic(); driver.SelectBy_MetaDataId(fldMetaDataId , connection, transaction); return(driver.Results); }
/// <summary> /// Run OrganizationMetaData_Search, and return results as a list of OrganizationMetaDataRow. /// </summary> /// <param name="fldMetaDataValue">Value for MetaDataValue</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of OrganizationMetaDataRow.</returns> public static List <OrganizationMetaDataContract> SearchNow(string fldMetaDataValue , SqlConnection connection, SqlTransaction transaction) { var driver = new OrganizationMetaDataLogic(); driver.Search(fldMetaDataValue , connection, transaction); return(driver.Results); }
/// <summary>"); /// Advance one, and read values into a OrganizationMetaData /// </summary> /// <param name="reader">The result of running a sql command.</param>"); /// <returns>A OrganizationMetaData or null if there are no results.</returns> public static OrganizationMetaDataContract ReadOneNow(SqlDataReader reader) { var driver = new OrganizationMetaDataLogic(); return(driver.ReadOne(reader) ? driver.Results[0] : null); }