Browse Source

Tweaked RoleActivity

frogsoftware 2 years ago
parent
commit
1a993fe59f
1 changed files with 7 additions and 1 deletions
  1. 7 1
      prs.classes/Entities/Role/RoleActivity.cs

+ 7 - 1
prs.classes/Entities/Role/RoleActivity.cs

@@ -3,7 +3,13 @@
 namespace Comal.Classes
 {
     [UserTracking(typeof(Employee))]
-    public class RoleActivity : Entity, IRemotable, IPersistent, IManyToMany<Role, Activity>, ILicense<CoreLicense>
+    public class RoleActivity : 
+        Entity, 
+        IRemotable, 
+        IPersistent, 
+        IManyToMany<Role, Activity>, 
+        IManyToMany<Activity, Role>, 
+        ILicense<CoreLicense>
     {
         [EntityRelationship(DeleteAction.Cascade)]
         public RoleLink Role { get; set; }