/// <summary> /// Create a new ArticleApproval object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="articleID">Initial value of the ArticleID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static ArticleApproval CreateArticleApproval(global::System.Int64 id, global::System.Int64 articleID, global::System.Int64 userID, global::System.DateTime createDate) { ArticleApproval articleApproval = new ArticleApproval(); articleApproval.ID = id; articleApproval.ArticleID = articleID; articleApproval.UserID = userID; articleApproval.CreateDate = createDate; return articleApproval; }
/// <summary> /// Deprecated Method for adding a new object to the ArticleApprovals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArticleApprovals(ArticleApproval articleApproval) { base.AddObject("ArticleApprovals", articleApproval); }