PitchingTube.Data.Participant.CreateParticipant C# (CSharp) Method

CreateParticipant() public static method

Create a new Participant object.
public static CreateParticipant ( global userId, global tubeId ) : Participant
userId global Initial value of the UserId property.
tubeId global Initial value of the TubeId property.
return Participant
        public static Participant CreateParticipant(global::System.Guid userId, global::System.Int32 tubeId)
        {
            Participant participant = new Participant();
            participant.UserId = userId;
            participant.TubeId = tubeId;
            return participant;
        }