コード例 #1
0
 /// <summary>
 /// Create a new TrainingMethod object.
 /// </summary>
 /// <param name="trainingMethodId">Initial value of the TrainingMethodId property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static TrainingMethod CreateTrainingMethod(global::System.Int32 trainingMethodId, global::System.String type)
 {
     TrainingMethod trainingMethod = new TrainingMethod();
     trainingMethod.TrainingMethodId = trainingMethodId;
     trainingMethod.Type = type;
     return trainingMethod;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TrainingMethods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrainingMethods(TrainingMethod trainingMethod)
 {
     base.AddObject("TrainingMethods", trainingMethod);
 }