ChangedLink

open class ChangedLink : ObjectBase

Encapsulates an OData changed link.

See also

ChangeSet.createLink, ChangeSet.updateLink, ChangeSet.deleteLink.
  • Can be used to hold the “last modified time” for a changed link.

    Declaration

    Swift

    final public var deltaTime: GlobalDateTime?
  • Is this a created link? Created links are applicable to one-to-one and one-to-many navigation properties.

    Declaration

    Swift

    final public var isCreated: Bool
  • Is this an updated link? Updated links are only applicable to one-to-one navigation properties.

    Declaration

    Swift

    final public var isUpdated: Bool
  • Is this an deleted link? Deleted links are applicable to one-to-one and one-to-many navigation properties.

    Declaration

    Swift

    final public var isDeleted: Bool
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Source entity which contains the changed link.

    Declaration

    Swift

    public final var source: EntityValue { get set }
  • Source navigation property for the changed link.

    Declaration

    Swift

    public final var sourceProperty: Property { get set }
  • Target entity referred to by the changed link.

    Declaration

    Swift

    public final var target: EntityValue { get set }
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.