/// <summary> /// Deprecated Method for adding a new object to the Entries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEntries(Entry entry) { base.AddObject("Entries", entry); }
/// <summary> /// Create a new Entry object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sessionId">Initial value of the SessionId property.</param> /// <param name="competitorId">Initial value of the CompetitorId property.</param> /// <param name="competitionNo">Initial value of the CompetitionNo property.</param> /// <param name="rFID">Initial value of the RFID property.</param> /// <param name="entryDate">Initial value of the EntryDate property.</param> public static Entry CreateEntry(global::System.Int64 id, global::System.Int64 sessionId, global::System.Int64 competitorId, global::System.String competitionNo, global::System.Int64 rFID, global::System.DateTime entryDate) { Entry entry = new Entry(); entry.Id = id; entry.SessionId = sessionId; entry.CompetitorId = competitorId; entry.CompetitionNo = competitionNo; entry.RFID = rFID; entry.EntryDate = entryDate; return entry; }