CsdlCompatibilityChecker

open class CsdlCompatibilityChecker : ObjectBase

OData CSDL compatibility checker.

  • Construct a CSDL compatibility checker.

    See also

    CsdlOption.

    Declaration

    Swift

    public init(oldMetadata: CSDLDocument, newMetadata: CSDLDocument)

    Parameters

    oldMetadata

    Old service metadata.

    newMetadata

    New service metadata.

  • Check if new metadata is backwards-compatible with old metadata. Adding structural/navigation properties, types and entity sets is backwards compatible.

    Declaration

    Swift

    open func check() throws