Inheritance: System.Data.Entity.Core.Objects.DataClasses.EntityObject
コード例 #1
0
 /// <summary>
 /// Create a new Article object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="conference_id">Initial value of the conference_id property.</param>
 public static Article CreateArticle(global::System.Int32 id, global::System.String name, global::System.Int32 conference_id)
 {
     Article article = new Article();
     article.id = id;
     article.name = name;
     article.conference_id = conference_id;
     return article;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Article EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArticle(Article article)
 {
     base.AddObject("Article", article);
 }