Class Attribute
- Namespace
- The.Model.Snapshot
- Assembly
- Instagile.Model.dll
- Inheritance
-
Attribute
- Inherited Members
-
Constructors
Attribute(Guid, Guid, Guid, string, AttributeType, Optional<string>, Optional<int>, Optional<int>, CalculationType, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, DisplaySettings, ImmutableDictionary<string, string>)
public Attribute(Guid id, Guid parentEntity, Guid parentSection, string name, AttributeType type, Optional<string> defaultValue, Optional<int> maxLength, Optional<int> precision, CalculationType calculationMode, bool isNullable, bool isAudited, bool isAutonum, bool isCalculated, bool isLegacy, bool isTransient, bool isRequired, bool isUnique, bool isPrimaryKey, bool isIndexed, DisplaySettings display, ImmutableDictionary<string, string> tags)
Parameters
id Guid
parentEntity Guid
parentSection Guid
name string
type AttributeType
defaultValue Optional<string>
maxLength Optional<int>
precision Optional<int>
calculationMode CalculationType
isNullable bool
isAudited bool
isAutonum bool
isCalculated bool
isLegacy bool
isTransient bool
isRequired bool
isUnique bool
isPrimaryKey bool
isIndexed bool
display DisplaySettings
tags ImmutableDictionary<string, string>
Fields
CalculationMode
public readonly CalculationType CalculationMode
Field Value
- CalculationType
DefaultValue
public Optional<string> DefaultValue
Field Value
- Optional<string>
Display
public readonly DisplaySettings Display
Field Value
- DisplaySettings
IsAudited
public readonly bool IsAudited
Field Value
- bool
IsAutonum
public readonly bool IsAutonum
Field Value
- bool
IsCalculated
public readonly bool IsCalculated
Field Value
- bool
IsIndexed
public readonly bool IsIndexed
Field Value
- bool
IsLegacy
public readonly bool IsLegacy
Field Value
- bool
IsNullable
public readonly bool IsNullable
Field Value
- bool
IsPrimaryKey
public readonly bool IsPrimaryKey
Field Value
- bool
IsRequired
public readonly bool IsRequired
Field Value
- bool
IsTransient
public readonly bool IsTransient
Field Value
- bool
IsUnique
public readonly bool IsUnique
Field Value
- bool
MaxLength
public readonly Optional<int> MaxLength
Field Value
- Optional<int>
Name
public readonly string Name
Field Value
- string
ParentEntity
public readonly Guid ParentEntity
Field Value
- Guid
ParentSection
public readonly Guid ParentSection
Field Value
- Guid
Precision
public readonly Optional<int> Precision
Field Value
- Optional<int>
public readonly ImmutableDictionary<string, string> Tags
Field Value
- ImmutableDictionary<string, string>
Type
public AttributeType Type
Field Value
- AttributeType
Properties
ID
Property Value
- Guid
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string