/// <summary> /// Deprecated Method for adding a new object to the Positions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPositions(Position position) { base.AddObject("Positions", position); }
/// <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> /// <param name="lCID">Initial value of the LCID property.</param> public static Position CreatePosition(global::System.Int32 positionID, global::System.String positionName, global::System.Int32 lCID) { Position position = new Position(); position.PositionID = positionID; position.PositionName = positionName; position.LCID = lCID; return position; }