Class GroupLinkedEntity<T>
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a Group linked to an IEntity. This defines to the many to many relationship between an IEntity and Group.
public class GroupLinkedEntity<T> : Entity, IEntity, IComparable, IIdentifiable where T : IEntity, IGroupLinked
Type Parameters
- Inheritance
-
GroupLinkedEntity<T>
- Implements
- Derived
- Inherited Members
Constructors
GroupLinkedEntity()
Initializes a new instance of the GroupLinkedEntity<T> class.
public GroupLinkedEntity()
GroupLinkedEntity(GroupLinkedEntity<T>)
Initializes a new instance of the GroupLinkedEntity<T> class.
protected GroupLinkedEntity(GroupLinkedEntity<T> groupLinkedEntity)
Parameters
groupLinkedEntity
GroupLinkedEntity<T>The Group linked entity.
GroupLinkedEntity(Id?, Group?, T?)
Initializes a new instance of the GroupLinkedEntity<T> class.
public GroupLinkedEntity(Id? id, Group? group, T? linkedEntity)
Parameters
Properties
Group
Gets or sets the Group.
public Group? Group { get; set; }
Property Value
- Group
The Group.
LinkedEntity
Gets or sets the linked entity.
public T? LinkedEntity { get; set; }
Property Value
- T
The linked entity.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
ToString()
public override string ToString()