/// <summary> /// Create a new Position object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="rowStatus">Initial value of the RowStatus property.</param> /// <param name="positionName">Initial value of the PositionName property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Position CreatePosition(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Byte rowStatus, global::System.String positionName, global::System.String createdBy, global::System.DateTime createdDate) { Position position = new Position(); position.Id = id; position.RowVersion = rowVersion; position.RowStatus = rowStatus; position.PositionName = positionName; position.CreatedBy = createdBy; position.CreatedDate = createdDate; return position; }
/// <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); }