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
newMetadata
is backwards-compatible witholdMetadata
. Adding structural/navigation properties, types and entity sets is backwards compatible.Declaration
Swift
open func check() throws -> Void