Table of Contents

Class ArrayAttribute

Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll

Represents an attribute that holds an array of values.

public class ArrayAttribute : DataAttribute

Inheritance

objectDataAttributeArrayAttribute

Inherited Members

DataAttribute.GetObjectDataType(), DataAttribute.GetDefaultValue(), DataAttribute.GetComputedRelatedFieldNames(), DataAttribute.GetAttributeType(DataClassPropertyType), DataAttribute.DataType, DataAttribute.Name, DataAttribute.Title, DataAttribute.Description, DataAttribute.IsSystemAttribute, DataAttribute.Required, DataAttribute.EnableAuditLog, DataAttribute.ReadAccessRule, DataAttribute.ExcludedFromDiagram, DataAttribute.IsComputed, DataAttribute.ComputedExpression, DataAttribute.DefaultValueRuleId, DataAttribute.AuditLogContext, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<ArrayAttribute>(ArrayAttribute)

Constructors

ArrayAttribute()

public ArrayAttribute()

Properties

DataType

Gets the data type of the attribute, which is always Casewhere.SystemTypes.DataClassPropertyType.Array.

public override DataClassPropertyType DataType { get; }

Property Value

DataClassPropertyType

ElementAttribute

Gets or sets the attribute for the elements in the array.

public DataAttribute ElementAttribute { get; set; }

Property Value

DataAttribute