From 65ccf405d73ff3aec8d3414a2c07e98fd571b01a Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sun, 22 Dec 2024 22:31:00 -0500 Subject: [PATCH] add ctor(Type) --- .../lib/Mocha.Core/Modeling/OmsRelationshipTargetAttribute.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mocha-dotnet/src/lib/Mocha.Core/Modeling/OmsRelationshipTargetAttribute.cs b/mocha-dotnet/src/lib/Mocha.Core/Modeling/OmsRelationshipTargetAttribute.cs index 415649d..b3b837a 100644 --- a/mocha-dotnet/src/lib/Mocha.Core/Modeling/OmsRelationshipTargetAttribute.cs +++ b/mocha-dotnet/src/lib/Mocha.Core/Modeling/OmsRelationshipTargetAttribute.cs @@ -20,4 +20,8 @@ namespace Mocha.Core.Modeling; public class OmsRelationshipTargetAttribute : OmsNativeRelationship { public OmsRelationshipTargetAttribute(string targetClassGlobalIdentifier) : base(KnownRelationshipGuids.Relationship__has_destination__Class, targetClassGlobalIdentifier) { } + public OmsRelationshipTargetAttribute(Type targetClassType) : base(KnownRelationshipGuids.Relationship__has_destination__Class, null) + { + + } } \ No newline at end of file