ATMLDataAccessLibrary.db.daos.StandardUnitMeasurementDAO.getAllElectricalStandardUnitMeasurementBeans C# (CSharp) Method

getAllElectricalStandardUnitMeasurementBeans() public method

public getAllElectricalStandardUnitMeasurementBeans ( ) : List
return List
        public List<StandardUnitMeasurementBean> getAllElectricalStandardUnitMeasurementBeans()
        {
            OleDbParameter[] parameters = new OleDbParameter[] { };
            return CreateList<StandardUnitMeasurementBean>("SELECT * FROM "
                                                            + StandardUnitMeasurementBean._TABLE_NAME
                                                            + " WHERE ("
                                                            + StandardUnitMeasurementBean._DEPRECATED
                                                            + " <> 'Y' OR "
                                                            + StandardUnitMeasurementBean._DEPRECATED
                                                            + " IS NULL ) "
                                                            + " AND "
                                                            + StandardUnitMeasurementBean._ELECTRICAL
                                                            + " = 'Y'"
                                                            , parameters);
        }