다음을 통해 공유


DAO 클래스

These classes work with the other application framework classes to give easy access to Data Access Object (DAO) databases, which use the same database engine as Microsoft Visual Basic and Microsoft Access. The DAO classes can also access a wide variety of databases for which Open Database Connectivity (ODBC) drivers are available.

Programs that use DAO databases will have at least a CDaoDatabase object and a CDaoRecordset object.

참고

Visual C++ .NET에서는 포함된 DAO 클래스를 아직 사용할 수 있지만 Visual C++ 환경 및 마법사가 더 이상 DAO를 지원하지 않습니다.Microsoft recommends that you use ODBC for new MFC projects.DAO는 기존 응용 프로그램을 유지 관리하는 데만 사용할 수 있습니다.

  • CDaoWorkspace
    Manages a named, password-protected database session from login to logoff. Most programs use the default workspace.

  • CDaoDatabase
    A connection to a database through which you can operate on the data.

  • CDaoRecordset
    데이터 소스에서 선택한 레코드 집합을 나타냅니다.

  • CDaoRecordView
    컨트롤에 데이터베이스 레코드를 표시하는 뷰입니다.

  • CDaoQueryDef
    Represents a query definition, usually one saved in a database.

  • CDaoTableDef
    기본 테이블 또는 연결된 테이블의 저장된 정의를 나타냅니다.

  • CDaoException
    Represents an exception condition arising from the DAO classes.

  • CDaoFieldExchange
    DAO 데이터베이스 클래스에서 사용하는 DAO 레코드 필드 교환(DFX) 루틴을 지원합니다. You will normally not directly use this class.

  • CLongBinary
    Encapsulates a handle to storage for a binary large object (BLOB), such as a bitmap. CLongBinary objects are used to manage large data objects stored in database tables.

  • COleCurrency
    Wrapper for the OLE automation type CURRENCY, a fixed-point arithmetic type, with 15 digits before the decimal point and 4 digits after.

  • COleDateTime
    Wrapper for the OLE automation type DATE. Represents date and time values.

  • COleVariant
    Wrapper for the OLE automation type VARIANT. Data in VARIANTs can be stored in many formats.

참고 항목

개념

클래스 라이브러리 개요