コード例 #1
0
ファイル: OccModel.Designer.cs プロジェクト: slobo80/WebSite
 /// <summary>
 /// Deprecated Method for adding a new object to the Sponsors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsors(Sponsor sponsor)
 {
     base.AddObject("Sponsors", sponsor);
 }
コード例 #2
0
ファイル: OccModel.Designer.cs プロジェクト: slobo80/WebSite
 /// <summary>
 /// Create a new Sponsor object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="event_ID">Initial value of the Event_ID property.</param>
 public static Sponsor CreateSponsor(global::System.Int32 id, global::System.Int32 event_ID)
 {
     Sponsor sponsor = new Sponsor();
     sponsor.ID = id;
     sponsor.Event_ID = event_ID;
     return sponsor;
 }