public static IdentityLinkEntity CreateAndInsert() { var identityLinkEntity = new IdentityLinkEntity(); identityLinkEntity.Insert(); return(identityLinkEntity); }
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); }
public HistoryEventCreatorAnonymousInnerClassHelper(IdentityLinkEntity outerInstance, HistoryEventTypes eventType) { _outerInstance = outerInstance; _eventType = eventType; }
public static IdentityLinkEntity NewIdentityLink() { var identityLinkEntity = new IdentityLinkEntity(); return(identityLinkEntity); }