/// <summary> /// Deprecated Method for adding a new object to the MdaParticipationTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMdaParticipationTypes(MdaParticipationType mdaParticipationType) { base.AddObject("MdaParticipationTypes", mdaParticipationType); }
/// <summary> /// Create a new MdaParticipationType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> public static MdaParticipationType CreateMdaParticipationType(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.String name, global::System.Boolean isActive, global::System.Byte[] timestamp) { MdaParticipationType mdaParticipationType = new MdaParticipationType(); mdaParticipationType.ID = id; mdaParticipationType.Guid = guid; mdaParticipationType.CreatedBy = createdBy; mdaParticipationType.CreatedAt = createdAt; mdaParticipationType.Name = name; mdaParticipationType.IsActive = isActive; mdaParticipationType.Timestamp = timestamp; return mdaParticipationType; }