Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Candidates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCandidates(Candidates candidates)
 {
     base.AddObject("Candidates", candidates);
 }
Ejemplo n.º 2
0
 /// <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;
 }