EntityInspectable

public protocol EntityInspectable

Types conforming to this protocol provide persistence metadata.

The code generator will make your Entity types conform to this for you and implement the requirements.

  • The type of the generated EntityBinding-conformant class used for serializing and de-serializing this entity.

    Declaration

    Swift

    associatedtype EntityBindingType : EntityBinding
  • Description of the entity type used by ObjectBox to map objects to data in the store.

    Declaration

    Swift

    static var entityInfo: EntityInfo { get }
  • Helper object used for serializing/deserializing entities.

    Declaration

    Swift

    static var entityBinding: EntityBindingType { get }