コード例 #1
0
        public static IdentityLinkEntity CreateAndInsert()
        {
            var identityLinkEntity = new IdentityLinkEntity();

            identityLinkEntity.Insert();
            return(identityLinkEntity);
        }
コード例 #2
0
        public virtual IdentityLinkEntity AddIdentityLink(string userId, string groupId)
        {
            IdentityLinkEntity identityLinkEntity = IdentityLinkEntity.NewIdentityLink();

            IdentityLinks.Add(identityLinkEntity);
            identityLinkEntity.ProcessDef = (this);
            identityLinkEntity.UserId     = userId;
            identityLinkEntity.GroupId    = groupId;
            identityLinkEntity.Type       = IdentityLinkType.Candidate;
            identityLinkEntity.TenantId   = TenantId;
            identityLinkEntity.Insert();
            return(identityLinkEntity);
        }
コード例 #3
0
 public HistoryEventCreatorAnonymousInnerClassHelper(IdentityLinkEntity outerInstance,
                                                     HistoryEventTypes eventType)
 {
     _outerInstance = outerInstance;
     _eventType     = eventType;
 }
コード例 #4
0
        public static IdentityLinkEntity NewIdentityLink()
        {
            var identityLinkEntity = new IdentityLinkEntity();

            return(identityLinkEntity);
        }