OfflineODataServiceOptions

public struct OfflineODataServiceOptions

Options for the OData backend used with an OfflineODataProvider.

  • Whether or not the service supports batch requests.

    Declaration

    Swift

    public var supportsBatch: Bool { get set }
  • Whether or not the service supports patch requests.

    Declaration

    Swift

    public var supportsPatch: Bool { get set }
  • Whether or not the service supports bind operations. If the service does not support bind operations the following will occur if a bind operation is used:

    1) If the bind operation is included in a dependent entity for a relationship that specifies a referential constraint, the bind operation will be replaced by setting the dependent properties directly.

    2) If the bind operation is included in a principal entity for a relationship that specifies a referential constraint, the request will be rejected with an error.

    3) If the bind operation is included in an entity for a relationship that does not specify a referential constraint, the relationship will be created locally but the bind will be omitted from the request that is sent to the OData backend.

    Declaration

    Swift

    public var supportsBind: Bool { get set }
  • CSDL options for parsing.

    See

    See CSDLOption.

    Declaration

    Swift

    public var csdlOptions: Int { get set }