/// <summary> /// Create a new ToDoItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="isComplete">Initial value of the IsComplete property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="details">Initial value of the Details property.</param> public static ToDoItem CreateToDoItem(global::System.Int64 id, global::System.Int64 accountId, global::System.Boolean isComplete, global::System.Int32 sortOrder, global::System.String title, global::System.String details) { ToDoItem toDoItem = new ToDoItem(); toDoItem.Id = id; toDoItem.AccountId = accountId; toDoItem.IsComplete = isComplete; toDoItem.SortOrder = sortOrder; toDoItem.Title = title; toDoItem.Details = details; return toDoItem; }
/// <summary> /// Deprecated Method for adding a new object to the ToDoItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToToDoItems(ToDoItem toDoItem) { base.AddObject("ToDoItems", toDoItem); }