/// <summary> /// Create a new Idea object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="dateAdded">Initial value of the DateAdded property.</param> /// <param name="dateUpdated">Initial value of the DateUpdated property.</param> /// <param name="statusId">Initial value of the StatusId property.</param> /// <param name="categoryId">Initial value of the CategoryId property.</param> public static Idea CreateIdea(global::System.Int32 id, global::System.String name, global::System.DateTime dateAdded, global::System.DateTime dateUpdated, global::System.Int32 statusId, global::System.Int32 categoryId) { Idea idea = new Idea(); idea.Id = id; idea.Name = name; idea.DateAdded = dateAdded; idea.DateUpdated = dateUpdated; idea.StatusId = statusId; idea.CategoryId = categoryId; return idea; }
/// <summary> /// Deprecated Method for adding a new object to the Ideas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIdeas(Idea idea) { base.AddObject("Ideas", idea); }