Class ComponentDataSource
Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll
Represents a component data source that use in Form Activity Definition
public class ComponentDataSource : Entity, IIdentity
Inheritance
object ← Entity ← ComponentDataSource
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<ComponentDataSource>(ComponentDataSource)
Constructors
ComponentDataSource()
public ComponentDataSource()
Properties
AdditionalFields
public string[] AdditionalFields { get; set; }
Property Value
string[]
Context
Gets or sets the context of the component data source.
public ComponentDataSourceContext Context { get; set; }
Property Value
DataClass
Gets or sets the data class of the component data source.
public string DataClass { get; set; }
Property Value
DataSource
public string DataSource { get; set; }
Property Value
Fields
Gets or sets the fields of the component data source.
public string[] Fields { get; set; }
Property Value
string[]
FilterExpression
Gets or sets the optional filter expression in Edit Mode.
public string FilterExpression { get; set; }
Property Value
SearchType
Gets or sets the search type of the component data source.
public ComponentDataSourceSearchType SearchType { get; set; }
Property Value
SortField
Gets or sets the sort field of the component data source.
public SortField SortField { get; set; }
Property Value
Methods
GetResourceName()
Gets the display name of the entity.
public override string GetResourceName()
Returns
The display name of the entity.