Class ModelExtensions
Provides extension methods of Model object.
Inheritance
System.Object
ModelExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public static class ModelExtensions
Methods
| Name | Description |
|---|---|
| AddSystemColumn(Model, Column, String, Action<Column>) | Adds a system column into the model. |
| CreateDbTable<T>(T, DbSession, String) | Creates DbTable object. |
| GetDataSource(Model) | Gets the owner DataSource. |
| GetDbAlias(Model) | Gets the database alias. |
| GetDbTableClause(Model) | Gets database table clause. |
| GetDbTableDescription(Model) | Gets the description of database table. |
| GetDbTableName(Model) | Gets the name of database table. |
| GetInsertableColumns(Model) | Gets insertable columns. |
| GetParentRelationship(Model) | Gets the parent relationship. |
| GetTableRowIdColumn(Model) | Gets the system row id column. |
| GetUpdatableColumns(Model) | Gets updatable columns. |
| IsIdentitySuspended(Model) | Determines whether identity column is suspended. |
| ResumeIdentity(Model) | Resumes identity column of the model. |
| SuspendIdentity(Model) | Suspend identity column of the model. |