ATMLDataAccessLibrary.db.daos.DocumentTypeLibraryDAO.FindTypeByASCII C# (CSharp) Method

FindTypeByASCII() public method

public FindTypeByASCII ( string ascii ) : DocumentTypeLibraryBean
ascii string
return ATMLDataAccessLibrary.db.beans.DocumentTypeLibraryBean
        public DocumentTypeLibraryBean FindTypeByASCII(string ascii)
        {
            string sql = builSelectSQLStatement(DocumentTypeLibraryBean._TABLE_NAME,
                                                new[] { BASEBean._ALL },
                                                new[] { DocumentTypeLibraryBean._ASCII });
            OleDbParameter[] parameters = { new OleDbParameter(DocumentTypeLibraryBean._ASCII, ascii) };
            return CreateBean<DocumentTypeLibraryBean>(sql, parameters);
        }