예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OlympicDivisionSteps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOlympicDivisionSteps(OlympicDivisionStep olympicDivisionStep)
 {
     base.AddObject("OlympicDivisionSteps", olympicDivisionStep);
 }
예제 #2
0
 /// <summary>
 /// Create a new OlympicDivisionStep object.
 /// </summary>
 /// <param name="divisionId">Initial value of the DivisionId property.</param>
 /// <param name="divisionStepId">Initial value of the DivisionStepId property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="baseValue">Initial value of the BaseValue property.</param>
 public static OlympicDivisionStep CreateOlympicDivisionStep(global::System.Int32 divisionId, global::System.Int32 divisionStepId, global::System.String description, global::System.Decimal baseValue)
 {
     OlympicDivisionStep olympicDivisionStep = new OlympicDivisionStep();
     olympicDivisionStep.DivisionId = divisionId;
     olympicDivisionStep.DivisionStepId = divisionStepId;
     olympicDivisionStep.Description = description;
     olympicDivisionStep.BaseValue = baseValue;
     return olympicDivisionStep;
 }