ATMLDataAccessLibrary.db.daos.DocumentTypeLibraryDAO.FindTypeByID C# (CSharp) Méthode

FindTypeByID() public méthode

public FindTypeByID ( int id ) : DocumentTypeLibraryBean
id int
Résultat ATMLDataAccessLibrary.db.beans.DocumentTypeLibraryBean
        public DocumentTypeLibraryBean FindTypeByID(int id)
        {
            string sql = builSelectSQLStatement(DocumentTypeLibraryBean._TABLE_NAME,
                                                new[] { BASEBean._ALL },
                                                new[] { DocumentTypeLibraryBean._ID });
            OleDbParameter[] parameters = { new OleDbParameter(DocumentTypeLibraryBean._ID, id) };
            return CreateBean<DocumentTypeLibraryBean>(sql, parameters);
        }