protected override void InDatastoreLogic(Relationship relationship) { Entity entity = InItem !.GetEntity(); if (entity.IsSelfOrSubclassOf(relationship.InEntity)) { if (relationship.OutProperty is null || relationship.OutProperty.Nullable || relationship.OutProperty.PropertyType == PropertyType.Collection) { PersistenceProvider.Remove(relationship, InItem, (OGM?)null, null, false); } } if (entity.IsSelfOrSubclassOf(relationship.OutEntity)) { if (relationship.InProperty is null || relationship.InProperty.Nullable || relationship.InProperty.PropertyType == PropertyType.Collection) { PersistenceProvider.Remove(relationship, (OGM?)null, OutItem, null, false); } } }
protected override void InDatastoreLogic(Relationship Relationship) { PersistenceProvider.Remove(Relationship, InItem, OutItem, Moment, true); }
protected override void InDatastoreLogic(Relationship relationship) { PersistenceProvider.Remove(relationship, InItem, OutItem, null, false); }