Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProgramInstance EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProgramInstance(ProgramInstance programInstance)
 {
     base.AddObject("ProgramInstance", programInstance);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new ProgramInstance object.
 /// </summary>
 /// <param name="programID">Initial value of the ProgramID property.</param>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 public static ProgramInstance CreateProgramInstance(global::System.Int32 programID, global::System.Int16 timePeriodID)
 {
     ProgramInstance programInstance = new ProgramInstance();
     programInstance.ProgramID = programID;
     programInstance.TimePeriodID = timePeriodID;
     return programInstance;
 }