Click or drag to resize

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 Hierarchy
SystemObject
  BridgeSystems.Bridgemate.DataConnectorClasses.SharedDTOParticipationDTO

Namespace: BridgeSystems.Bridgemate.DataConnectorClasses.SharedDTO
Assembly: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient (in BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient.dll) Version: 1.0.923.1+8676f6447fd14feb672ed9c066f2812915b8f069
Syntax
C#
public class ParticipationDTO

The ParticipationDTO type exposes the following members.

Constructors
 NameDescription
Public methodParticipationDTOInitializes a new instance of the ParticipationDTO class
Top
Properties
 NameDescription
Public propertyCountryCode Optional, must only be used when the playernumber is empty.
Public propertyDirection Required. The position on the table for the player in the round. 1: North 2: East 3: South 4: West
Public propertyFirstName Optional, must only be used when the playernumber is empty.
Public propertyIsPlayerSwap Signals that this player was swapped with his partner: North was swapped with South, or East with West.
Public propertyLastName Required when the playernumber is empty.Must only be used when the playernumber is empty.
Public propertyPlayerNumber 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.
Public propertyRoundNumber 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.
Public propertySectionLetters Required. The letters of the section the participation belongs to. Can be A-Z, AA, BB, CC,...ZZ, AAA, BBB, CCC, ... ZZZ
Public propertySessionGuid 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
Public propertyTableNumber Required. The number of the table for the player in the round.
Public propertyValidationMessages An array of messages describing problems in data integrity and invalid values.
Top
Methods
 NameDescription
Public methodClone 
Public methodToString
(Overrides ObjectToString)
Public methodValidate Validates the DTO. Produces validation messages if there are problems.
Top
See Also