コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Articles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArticles(Articles articles)
 {
     base.AddObject("Articles", articles);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Articles object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Articles CreateArticles(global::System.Int32 id)
 {
     Articles articles = new Articles();
     articles.ID = id;
     return articles;
 }