Class SQLiteJobPropertiesEntity
The SQLite storage job status entity.
Implements
Inherited Members
Namespace: DNVGL.One.Compute.StorageLibrary.SQLite.Entities
Assembly: DNVGL.One.Compute.StorageLibrary.SQLite.dll
Syntax
[Table("jobproperties")]
public class SQLiteJobPropertiesEntity : JobProperties, ISQLiteEntity
Constructors
View SourceSQLiteJobPropertiesEntity()
Initializes a new instance of the SQLiteJobPropertiesEntity class.
Declaration
public SQLiteJobPropertiesEntity()
SQLiteJobPropertiesEntity(Job)
Initializes a new instance of the SQLiteJobPropertiesEntity class.
Declaration
public SQLiteJobPropertiesEntity(Job job)
Parameters
Type | Name | Description |
---|---|---|
Job | job | The job. |
SQLiteJobPropertiesEntity(JobProperties)
Initializes a new instance of the SQLiteJobPropertiesEntity class.
Declaration
public SQLiteJobPropertiesEntity(JobProperties jobProperties)
Parameters
Type | Name | Description |
---|---|---|
JobProperties | jobProperties | Job properties. |
Properties
View SourceAlterTableMigrations
Gets the SQL statement used to migrate the table.
Declaration
public static string AlterTableMigrations { get; }
Property Value
Type | Description |
---|---|
string | The SQL statement. |
Remarks
Note: Reflection is being used to get an instance of this property, so the implementation needs to be "public".
CreateTableSql
Gets the SQL statement used to create the table.
Declaration
public static string CreateTableSql { get; }
Property Value
Type | Description |
---|---|
string | The SQL statement. |
Remarks
Note: Reflection is being used to get an instance of this property, so the implementation needs to be "public".
Id
Gets or sets the identifier.
Declaration
[Key]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceUpdate(JobProperties)
Update this instance from the given jobProperties
.
Declaration
public void Update(JobProperties jobProperties)
Parameters
Type | Name | Description |
---|---|---|
JobProperties | jobProperties | Job properties. |