Class EntityType
Last update: 16.07.2025Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll
public class EntityType
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
EntityType(string, string, MainTypes, SubTypes, string, string)
[JsonConstructor]
public EntityType(string typeName, string displayName, MainTypes mainType, SubTypes subType, string mainTypeAbbreviation, string subTypeAbbreviation)
Parameters
typeName string
displayName string
mainType MainTypes
subType SubTypes
mainTypeAbbreviation string
subTypeAbbreviation string
Properties
DisplayName
public string DisplayName { get; }
Property Value
MainType
[JsonConverter(typeof(StringEnumConverter))]
public MainTypes MainType { get; }
Property Value
MainTypeAbbreviation
public string MainTypeAbbreviation { get; }
Property Value
SubType
[JsonConverter(typeof(StringEnumConverter))]
public SubTypes SubType { get; }
Property Value
SubTypeAbbreviation
public string SubTypeAbbreviation { get; }
Property Value
TypeName
public string TypeName { get; }
Property Value
Methods
TryGetEntityType(string, out EntityType)
public static bool TryGetEntityType(string typeName, out EntityType entityType)
Parameters
typeName string
entityType EntityType