Table of Contents

Class StringAttribute

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

Represents a string attribute.

public class StringAttribute : DataAttribute

Inheritance

objectDataAttributeStringAttribute

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

Constructors

StringAttribute()

public StringAttribute()

Properties

Collation

public CustomCollation Collation { get; set; }

Property Value

CustomCollation

DataType

Gets the data type of the attribute.

public override DataClassPropertyType DataType { get; }

Property Value

DataClassPropertyType

IsEncrypted

Gets or sets a value indicating whether the attribute is encrypted.

public bool IsEncrypted { get; set; }

Property Value

bool

IsSearchable

Gets or sets a value indicating whether the attribute is searchable.

public bool IsSearchable { get; set; }

Property Value

bool

MaskFormat

Gets or sets the mask format for the attribute.

public string MaskFormat { get; set; }

Property Value

string

Methods

GetSearchableData(dynamic)

public IList<string> GetSearchableData(dynamic dynamicValue)

Parameters

dynamicValue dynamic

Returns

IList<string>