/// <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="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static Position CreatePosition(global::System.Int32 id, global::System.String name) { Position position = new Position(); position.Id = id; position.Name = name; return position; }