/// <summary> /// Deprecated Method for adding a new object to the DVEventParticipants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDVEventParticipants(DVEventParticipant dVEventParticipant) { base.AddObject("DVEventParticipants", dVEventParticipant); }
/// <summary> /// Create a new DVEventParticipant object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="participantJoined">Initial value of the ParticipantJoined property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="isVerified">Initial value of the IsVerified property.</param> public static DVEventParticipant CreateDVEventParticipant(global::System.Guid id, global::System.DateTime participantJoined, global::System.Int32 userId, global::System.String userName, global::System.Boolean isVerified) { DVEventParticipant dVEventParticipant = new DVEventParticipant(); dVEventParticipant.Id = id; dVEventParticipant.ParticipantJoined = participantJoined; dVEventParticipant.UserId = userId; dVEventParticipant.UserName = userName; dVEventParticipant.IsVerified = isVerified; return dVEventParticipant; }