Interface IStackTimestampService
Stack timestamp service
Namespace: Simplic.DataStack
Assembly: Simplic.DataStack.dll
Syntax
public interface IStackTimestampService
Methods
| Improve this Doc View SourceGetAll()
Get all timestamp model
Declaration
IEnumerable<InstanceDataTimestampModel> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<InstanceDataTimestampModel> | Enumerable of timestamps |
GetByStackId(Guid)
Get timestamp by stack id
Declaration
InstanceDataTimestampModel GetByStackId(Guid stackId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackId | Stack id |
Returns
Type | Description |
---|---|
InstanceDataTimestampModel | Timestamp object or null |
GetByStackName(String)
Get timestamp by stack name
Declaration
InstanceDataTimestampModel GetByStackName(string stackName)
Parameters
Type | Name | Description |
---|---|---|
System.String | stackName | Stack name |
Returns
Type | Description |
---|---|
InstanceDataTimestampModel | Timestamp object or null |
SetTimestamp(Guid, Guid)
Set instance data changed timestamp
Declaration
bool SetTimestamp(Guid stackId, Guid instanceDataId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackId | Stack id |
System.Guid | instanceDataId | Instance data id |
Returns
Type | Description |
---|---|
System.Boolean | True if setting was successfull |
SetTimestamp(String, Guid)
Set instance data changed timestamp
Declaration
bool SetTimestamp(string stackName, Guid instanceDataId)
Parameters
Type | Name | Description |
---|---|---|
System.String | stackName | Stack name |
System.Guid | instanceDataId | Instance data id |
Returns
Type | Description |
---|---|
System.Boolean | True if setting was successfull |