Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ArticleCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArticleCategories(ArticleCategory articleCategory)
 {
     base.AddObject("ArticleCategories", articleCategory);
 }
Exemple #2
0
 /// <summary>
 /// Create a new ArticleCategory object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="articleID">Initial value of the ArticleID property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static ArticleCategory CreateArticleCategory(global::System.Int64 id, global::System.Int64 articleID, global::System.Int64 categoryID, global::System.DateTime createDate)
 {
     ArticleCategory articleCategory = new ArticleCategory();
     articleCategory.ID = id;
     articleCategory.ArticleID = articleID;
     articleCategory.CategoryID = categoryID;
     articleCategory.CreateDate = createDate;
     return articleCategory;
 }