/// <summary> /// Deprecated Method for adding a new object to the Candidates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCandidates(Candidates candidates) { base.AddObject("Candidates", candidates); }
/// <summary> /// Create a new Candidates object. /// </summary> /// <param name="candidateID">Initial value of the CandidateID property.</param> /// <param name="candidateScoring">Initial value of the CandidateScoring property.</param> /// <param name="currentDayRate">Initial value of the CurrentDayRate property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Candidates CreateCandidates(global::System.Int32 candidateID, global::System.Decimal candidateScoring, global::System.Decimal currentDayRate, global::System.DateTime addDate, global::System.Byte[] rowVersion) { Candidates candidates = new Candidates(); candidates.CandidateID = candidateID; candidates.CandidateScoring = candidateScoring; candidates.CurrentDayRate = currentDayRate; candidates.AddDate = addDate; candidates.RowVersion = rowVersion; return candidates; }