Click or drag to resize
Askia

IResource Interface

Resource interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IResource : IRecordEntity

The IResource type exposes the following members.

Properties
  NameDescription
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyName
Name of the resource
Public propertyTranslatedFiles
Collection of the resource files by language
Public propertyType
Type of the resource
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Top
Methods
  NameDescription
Public methodAddToScenario
Add the resource to a given scenario
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodExtract
Extract the resource to the disk
Public methodGetScenarios
Retrieve a list the scenarios containing this resource
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRemoveFromScenario
Remove the resource from a given scenario
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Top
See Also