Beispiel #1
0
 /// <summary>
 /// Create a new Position object.
 /// </summary>
 /// <param name="positionID">Initial value of the PositionID property.</param>
 /// <param name="positionName">Initial value of the PositionName property.</param>
 public static Position CreatePosition(global::System.Int32 positionID, global::System.String positionName)
 {
     Position position = new Position();
     position.PositionID = positionID;
     position.PositionName = positionName;
     return position;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Positions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPositions(Position position)
 {
     base.AddObject("Positions", position);
 }