Hi there,
I got a little bit puzzled, when I tried to use EditOperation.Delete(RelationshipDescription) from the SDK. There's a constructor, that requires you to insert "RowHandle" instances for origin and destination, I got two proper Row Instances and called "new RowHandle(Row)" - But EditOperation.Delete(RelationshipDescription) run into an Error with "Nullable not set".
Turned out, that EditOperation.Delete(RelationshipDescription) is implemented using RelationshipDescription.OriginRow.ObjectID, and the given new RowHandle(Row) does not properly set this value:
public long? ObjectID
{
get
{
long? objectId = this._objectID;
if (objectId.HasValue)
return objectId;
return this._token?.ObjectID;
}
}
I assume this is a bug in the SDK. Using new RowHandle(..., long objectId) worked fine.