Table of Contents

Class DataClass

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

Represents a base class for data classes. Casewhere is not designed for any specific business domain, so it does not provide a fixed, built-in data model. Instead, you, as a Casewhere designer, will need to instruct Casewhere how you would like to store data by defining data classes and the relationships among them.

public abstract class DataClass : Entity, IIdentity

Inheritance

objectEntityDataClass

Derived

InternalDataClass, PluginDataClass

Implements

IIdentity

Inherited Members

Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, 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<DataClass>(DataClass)

Constructors

DataClass()

protected DataClass()

Properties

Attributes

Gets or sets the list of attributes associated with the data class.

public IList<DataAttribute> Attributes { get; set; }

Property Value

IList<DataAttribute>

Description

public string Description { get; set; }

Property Value

string

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

Name

Gets or sets the name of the data class.

public string Name { get; set; }

Property Value

string

ProductId

Gets or sets the product ID associated with the data class.

public Guid ProductId { get; set; }

Property Value

Guid

Tags

public IList<string> Tags { get; set; }

Property Value

IList<string>

Methods

GetResourceName()

Gets the display name of the entity.

public override string GetResourceName()

Returns

string

The display name of the entity.