ModelFactoryGenerateConnectorState Method

Generates a new ConnectorStateDto initialized for the specified company, connector and endpoint.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static ConnectorStateDto? GenerateConnectorState(
	Guid companyId,
	string connectorType,
	Guid endpointId
)

Parameters

companyId  Guid
The company to which the connector state will belong.
connectorType  String
The connector type (for example DC09).
endpointId  Guid
The endpoint this state object is associated with.

Return Value

ConnectorStateDto
A newly created ConnectorStateDto with default values for sequencing and timestamps.

See Also