Table of Contents

Class IntegerAttribute

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

Represents an attribute that holds an integer value.

public class IntegerAttribute : DataAttribute, IAutoIncrementAttribute

Inheritance

objectDataAttributeIntegerAttribute

Implements

IAutoIncrementAttribute

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

Constructors

IntegerAttribute()

public IntegerAttribute()

Properties

DataType

Gets the data type of the attribute.

public override DataClassPropertyType DataType { get; }

Property Value

DataClassPropertyType

IsAutoIncrement

public bool IsAutoIncrement { get; set; }

Property Value

bool

IsSearchable

public bool IsSearchable { get; set; }

Property Value

bool

Methods

GetSearchableData(dynamic)

public IList<string> GetSearchableData(dynamic dynamicValue)

Parameters

dynamicValue dynamic

Returns

IList<string>