add ctor(Type)

This commit is contained in:
Michael Becker 2024-12-22 22:31:00 -05:00
parent c4ea69407b
commit 65ccf405d7
Signed by: beckermj
GPG Key ID: 24F8DAA73DCB2C8F

View File

@ -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)
{
}
}