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