Class Model
Base class of your busines model objects.
Implements
Inherited Members
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public abstract class Model : ModelMember, IDesignable, IModels, IReadOnlyCollection<Model>, IEnumerable<Model>, IEnumerable, IEntity
Constructors
Name | Description |
---|---|
Model() | Initializes a new instance of Model class. |
Properties
Name | Description |
---|---|
ChildModels | Gets the child models owned by this model. |
Columns | Gets the columns owned by this model. |
DataSet | Gets the DataSet which owns this model. |
DataSetContainer | Gets the DataSet container which owns this model. |
DataSource | Gets the DataSource which owns this model. |
DbAlias | Gets the database alias of this model. |
DesignMode | |
IsInitialized | Gets a value indicates whether child models are initialized. |
LocalColumns | Gets local columns owned by this model. |
PrimaryKey | Gets the primary key of this model. |
Projections | Gets the Projection objects owned by this model. |
Validators | Gets the validators owned by this model. |
Methods
Events
Name | Description |
---|---|
AfterDataRowInserted | Occurs after DataRow inserted. |
BeforeDataRowInserted | Occurs before DataRow inserted. |
ChildDataSetsCreated | Occurs when child DataSets are created. |
ChildModelsMounted | Occurs when child models are mounted. |
Constructing | Occurs when this model is constructing. |
DataRowInserting | Occurs when inserting DataRow. |
DataRowRemoved | Occurs when DataRow is removed. |
DataRowRemoving | Occurs when removing DataRow. |
Initialized | Occurs when this model is initialized. |
Initializing | Occurs when this model is initializing. |
ValueChanged | Ocurrs when data value is changed. |