Class RepresentativeGroupManager
Manager for the Representative Groups
Inheritance
System.Object
RepresentativeGroupManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.PlugIn.SAC.Contact
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public sealed class RepresentativeGroupManager
Properties
| Improve this Doc View SourceSingleton
Gets the only instance of this class
Declaration
public static RepresentativeGroupManager Singleton { get; }
Property Value
Type | Description |
---|---|
RepresentativeGroupManager |
Methods
| Improve this Doc View SourceDelete(RepresentativeGroup)
Deletes passed repgroup
Declaration
public void Delete(RepresentativeGroup repgroup)
Parameters
Type | Name | Description |
---|---|---|
RepresentativeGroup | repgroup | The group to be deleted |
Get(Guid)
Gets the representative Group by the passed Id
Declaration
public RepresentativeGroup Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique id of the group |
Returns
Type | Description |
---|---|
RepresentativeGroup | Returns a RepresentativeGroup when existing, else null |
New()
Creates a new Instance of RepresentativeGroup
Declaration
public RepresentativeGroup New()
Returns
Type | Description |
---|---|
RepresentativeGroup |
RepresentativeGroupInUse(Guid)
Return true if the representativeGroup is in use and false if not
Declaration
public bool RepresentativeGroupInUse(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id |
Returns
Type | Description |
---|---|
System.Boolean |
Save(RepresentativeGroup)
Saves passed repgroup
Declaration
public void Save(RepresentativeGroup repgroup)
Parameters
Type | Name | Description |
---|---|---|
RepresentativeGroup | repgroup | The group to be saved |
Update(Guid, Guid)
Updates all contacts with the old representative group to a new representative group
Declaration
public void Update(Guid oldId, Guid newId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | oldId | |
System.Guid | newId |