Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProgramRequirements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProgramRequirements(ProgramRequirement programRequirement)
 {
     base.AddObject("ProgramRequirements", programRequirement);
 }
Пример #2
0
 /// <summary>
 /// Create a new ProgramRequirement object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="elective">Initial value of the Elective property.</param>
 public static ProgramRequirement CreateProgramRequirement(global::System.Int32 id, global::System.Boolean elective)
 {
     ProgramRequirement programRequirement = new ProgramRequirement();
     programRequirement.Id = id;
     programRequirement.Elective = elective;
     return programRequirement;
 }