Class ContactSubType
Represents a ContactType like 'Driver'
Inheritance
System.Object
ContactSubType
Implements
System.Collections.Generic.IEqualityComparer<ContactSubType>
System.IEquatable<ContactSubType>
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 class ContactSubType : IEqualityComparer<ContactSubType>, IEquatable<ContactSubType>
Constructors
| Improve this Doc View SourceContactSubType()
Initializes a new ContactType
Declaration
public ContactSubType()
Properties
| Improve this Doc View SourceContactSubTypeKeyId
Gets or sets the ContactSubTypeKeyID (primary key) as int
Declaration
public int? ContactSubTypeKeyId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Id
Gets or sets the Id (not the primary key) as Guid
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsSelectable
Gets or sets the Flag, whether it is selectable or not
Declaration
public bool IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
States
Declaration
public ICollection<ContactSubTypeState> States { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<ContactSubTypeState> |
TypeName
Gets or sets the name of the ContactType
Declaration
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(ContactSubType)
Compare ID
Declaration
public bool Equals(ContactSubType other)
Parameters
Type | Name | Description |
---|---|---|
ContactSubType | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(ContactSubType, ContactSubType)
Compare ID
Declaration
public bool Equals(ContactSubType x, ContactSubType y)
Parameters
Type | Name | Description |
---|---|---|
ContactSubType | x | |
ContactSubType | y |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode(ContactSubType)
Get HashCode of the ID
Declaration
public int GetHashCode(ContactSubType obj)
Parameters
Type | Name | Description |
---|---|---|
ContactSubType | obj |
Returns
Type | Description |
---|---|
System.Int32 |
LoadStates()
Declaration
public ICollection<ContactSubTypeState> LoadStates()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<ContactSubTypeState> |
Implements
System.Collections.Generic.IEqualityComparer<T>
System.IEquatable<T>