ATMLDataAccessLibrary.db.daos.EquipmentDAO.getConnectorConfigurations C# (CSharp) Méthode

getConnectorConfigurations() public méthode

public getConnectorConfigurations ( System.Guid id ) : List
id System.Guid
Résultat List
        public List<dbConnectorConfiguration> getConnectorConfigurations( Guid? id )
        {
            var parameters = new OleDbParameter[] {new OleDbParameter( dbConnectorConfiguration._CONNECTOR_ID, id )};
            List<dbConnectorConfiguration> list =
                CreateList<dbConnectorConfiguration>(
                    BuildSqlSelect( dbConnectorConfiguration._TABLE_NAME, new String[] {"*"},
                                    new String[] {dbConnectorConfiguration._CONNECTOR_ID} ), parameters );
            foreach (dbConnectorConfiguration config in list)
                config.Pins = getConnectorPins( config.ID );
            return list;
        }