Class ContactRepository2
- Namespace
- InSite.Persistence.Plugin.CMDS
- Assembly
- InSite.Persistence.dll
public static class ContactRepository2
- Inheritance
-
ContactRepository2
- Inherited Members
-
Methods
public static void DeleteDepartmentReferences(Guid department)
Parameters
department Guid
public static void Initialize(Action<ICommand> sendCommand, Action<IEnumerable<ICommand>> sendCommands)
Parameters
sendCommand Action<ICommand>
sendCommands Action<IEnumerable<ICommand>>
public static bool IsCmdsUserInCmdsRole(int userId, string roleName)
Parameters
userId int
roleName string
Returns
- bool
public static IEnumerable<ContactRepository2.CompanyEmployee> SelectActiveUsers(Guid organization, IEnumerable<string> employmentTypes, string excludeGroup)
Parameters
organization Guid
employmentTypes IEnumerable<string>
excludeGroup string
Returns
- IEnumerable<ContactRepository2.CompanyEmployee>
public static IEnumerable<ContactRepository2.CompanyEmployee> SelectCompetencyStatusPerPerson(Guid organizationId, Guid? department, Guid? personKey, Guid? profileStandardIdentifier, bool isPrimary)
Parameters
organizationId Guid
department Guid?
personKey Guid?
profileStandardIdentifier Guid?
isPrimary bool
Returns
- IEnumerable<ContactRepository2.CompanyEmployee>