Interface IInstanceDataStackConnectionRepository
The repository for stack connections.
Namespace: Simplic.Studio
Assembly: Simplic.Studio.dll
Syntax
public interface IInstanceDataStackConnectionRepository
Methods
| Improve this Doc View SourceDelete(InstanceDataStackConnection)
Delete the given connection.
Declaration
void Delete(InstanceDataStackConnection connection)
Parameters
Type | Name | Description |
---|---|---|
InstanceDataStackConnection | connection | The connection to delete. |
Delete(Guid, Guid)
Delete the connection from the given source stack to a given destiantion stack.
Declaration
void Delete(Guid sourceStackGuid, Guid destinationStackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | sourceStackGuid | The source stack to delete the connection for. |
System.Guid | destinationStackGuid | The destination stack to delete the connection to. |
DeleteAll(Guid)
Delete all connections with the given stack as source.
Declaration
void DeleteAll(Guid sourceStackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | sourceStackGuid | The source stack to delete all connections for. |
Get(Guid, Guid)
Get the the connection assoziated with the given stacks.
Declaration
InstanceDataStackConnection Get(Guid sourceStackGuid, Guid destinationStackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | sourceStackGuid | The guid of the source stack. |
System.Guid | destinationStackGuid | The guid of the destination stack. |
Returns
Type | Description |
---|---|
InstanceDataStackConnection | The existing connection or null when no connection exists. |
GetAll()
Get all connections that exist.
Declaration
IEnumerable<InstanceDataStackConnection> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<InstanceDataStackConnection> | All connections that exist. |
GetAll(Guid)
Get all possible connections with the given stack as source.
Declaration
IEnumerable<InstanceDataStackConnection> GetAll(Guid sourceStackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | sourceStackGuid | The stack to get all possible connections for. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<InstanceDataStackConnection> | All possible connections with the given satck as source. |
Save(InstanceDataStackConnection)
Save the given connection.
Declaration
void Save(InstanceDataStackConnection connection)
Parameters
Type | Name | Description |
---|---|---|
InstanceDataStackConnection | connection | The connection to save. |