 | ParticipationDTO Class |
This class can be used:
1. To give names for the players in the first round by only specifying their player numbers.
For this to work the names belonging to the playernumber must have been passed first using
PlayerDTO's.
2. To give names for the players in the first round by omitting their playernumber. In this case the
players will be registerd for this session only.
The combination of both playernumber and name details is not supported.
Inheritance HierarchySystemObject
BridgeSystems.Bridgemate.DataConnectorClasses.SharedDTOParticipationDTO
Namespace: BridgeSystems.Bridgemate.DataConnectorClasses.SharedDTOAssembly: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient (in BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient.dll) Version: 1.0.923.1+8676f6447fd14feb672ed9c066f2812915b8f069
Syntaxpublic class ParticipationDTO
The ParticipationDTO type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | CountryCode |
Optional, must only be used when the playernumber is empty.
|
 | Direction |
Required. The position on the table for the player in the round.
1: North
2: East
3: South
4: West
|
 | FirstName |
Optional, must only be used when the playernumber is empty.
|
 | IsPlayerSwap |
Signals that this player was swapped with his partner: North was swapped with South, or East with West.
|
 | LastName |
Required when the playernumber is empty.Must only be used when the playernumber is empty.
|
 | PlayerNumber |
Optional, but must be present together with the SessionGuid if no name details are passed.
The playernumber must have been passed beforehand using a PlayerDTO containg the name details.
|
 | RoundNumber |
Currently only the values zero and one are supported. They are treated the same as the table where the player sits in the first round.
Optional, specifying a number higher than 1 indicates that the name of the player has become known
in a latter round. BCS will use the known movement to calculate the player's positions in other rounds.
|
 | SectionLetters |
Required. The letters of the section the participation belongs to.
Can be A-Z, AA, BB, CC,...ZZ, AAA, BBB, CCC, ... ZZZ
|
 | SessionGuid |
Required. The guid of the session the participation belongs to.
A string built from a Guid, without the curly braces or connecting dashes.
The letters must be capitals
|
 | TableNumber |
Required. The number of the table for the player in the round.
|
 | ValidationMessages |
An array of messages describing problems in data integrity and invalid values.
|
Top
Methods | Name | Description |
---|
 | Clone | |
 | ToString | (Overrides ObjectToString) |
 | Validate |
Validates the DTO. Produces validation messages if there are problems.
|
Top
See Also