Class AttributeSnapshot
public sealed class AttributeSnapshot : IPropertySnapshot
- Inheritance
-
AttributeSnapshot
- Implements
- Inherited Members
Constructors
AttributeSnapshot(ModelSnapshot, Attribute)
public AttributeSnapshot(ModelSnapshot context, Attribute wrap)
Parameters
contextModelSnapshotwrapAttribute
Properties
CalculationMode
public CalculationType CalculationMode { get; }
Property Value
Caption
public string Caption { get; }
Property Value
DefaultValue
public Optional<string> DefaultValue { get; }
Property Value
Display
public DisplaySettings Display { get; }
Property Value
ID
public Guid ID { get; }
Property Value
IsAudited
public bool IsAudited { get; }
Property Value
IsAutonum
public bool IsAutonum { get; }
Property Value
IsCalculated
public bool IsCalculated { get; }
Property Value
IsDateType
public bool IsDateType { get; }
Property Value
IsDocumentType
public bool IsDocumentType { get; }
Property Value
IsHidden
public bool IsHidden { get; }
Property Value
IsIndexed
public bool IsIndexed { get; }
Property Value
IsLegacy
public bool IsLegacy { get; }
Property Value
IsNullable
public bool IsNullable { get; }
Property Value
IsPrimaryKey
public bool IsPrimaryKey { get; }
Property Value
IsReferenceType
public bool IsReferenceType { get; }
Property Value
IsRequired
public bool IsRequired { get; }
Property Value
IsTransient
public bool IsTransient { get; }
Property Value
IsUnique
public bool IsUnique { get; }
Property Value
MaxLength
public Optional<int> MaxLength { get; }
Property Value
Model
public ModelSnapshot Model { get; }
Property Value
Name
public string Name { get; }
Property Value
OrderWithinEntity
public int OrderWithinEntity { get; }
Property Value
OrderWithinHierarchy
public int OrderWithinHierarchy { get; }
Property Value
ParentEntity
public EntitySnapshot ParentEntity { get; }
Property Value
ParentSection
public SectionSnapshot ParentSection { get; }
Property Value
Precision
public Optional<int> Precision { get; }
Property Value
Type
public AttributeType Type { get; }
Property Value
Methods
AsDescriptor()
public PropertyDescriptor AsDescriptor()
Returns
Diff(AttributeSnapshot)
public string Diff(AttributeSnapshot that)
Parameters
thatAttributeSnapshot
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetAllTags()
public IEnumerable<KeyValuePair<string, string>> GetAllTags()
Returns
GetCSType()
public string GetCSType()
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetInternalType()
public string GetInternalType()
Returns
GetTag(string)
public Optional<string> GetTag(string key)
Parameters
keystring
Returns
Index(bool, bool)
Position of this element when placed in arrays
public int Index(bool legacyMode, bool includeTransient)
Parameters
Returns
ToEvents()
public IEnumerable<IEvent> ToEvents()
Returns
ToString()
public override string ToString()