• Core Data stack


    https://developer.apple.com/library/content/documentation/DataManagement/Devpedia-CoreData/coreDataStack.html#//apple_ref/doc/uid/TP40010398-CH25-SW1

    A Core Data stack is composed of the following objects: one or more managed object contexts connected to a single persistent store coordinator which is in turn connected to one or more persistent stores. A stack contains all the Core Data components you need to fetch, create, and manipulate managed objects. Minimally it contains:

    • An external persistent store that contains saved records.

    • A persistent object store that maps between records in the store and objects in your application.

    • A persistent store coordinator that aggregates all the stores.

    • A managed object model that describes the entities in the stores.

    • A managed object context that provides a scratch pad for managed objects.

    Art/single_persistent_stack.jpg

    A stack is effectively defined by a persistent store coordinator—there is one and only one per stack. Creating a new persistent store coordinator implies creating a new stack. By implication, there is therefore only one model, although it may be aggregated from multiple models. There may be multiple stores—and hence object stores—and multiple managed object contexts.

    A managed object context is usually connected directly to a persistent store coordinator, but may be connected to another context in a parent-child relationship.

  • 相关阅读:
    Displaying Tabbed and Stacked Canvas Using Show_View In Oracle Forms
    Sort Detail Data Block Example
    Oracle Forms Execute_Query Example To Fetch The Records From Database
    web交互方式
    Ajax、Comet与Websocket
    Websocket和PHP Socket编程
    websocket webworker
    Android消息推送
    游戏服务器
    Comet:基于 HTTP 长连接的“服务器推”技术
  • 原文地址:https://www.cnblogs.com/feng9exe/p/7449460.html
Copyright © 2020-2023  润新知