Table of Contents

Class ObjectAttribute

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

Represents an attribute that holds an object value.

public class ObjectAttribute : DataAttribute

Inheritance

objectDataAttributeObjectAttribute

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<ObjectAttribute>(ObjectAttribute)

Constructors

ObjectAttribute()

public ObjectAttribute()

Properties

DataType

Gets the data type of the attribute.

public override DataClassPropertyType DataType { get; }

Property Value

DataClassPropertyType

IsSearchable

public bool IsSearchable { get; set; }

Property Value

bool

Methods

GetSearchableData(dynamic)

public IList<string> GetSearchableData(dynamic dynamicValue)

Parameters

dynamicValue dynamic

Returns

IList<string>