コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Freebies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFreebies(Freebie freebie)
 {
     base.AddObject("Freebies", freebie);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Freebie object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="profile">Initial value of the Profile property.</param>
 public static Freebie CreateFreebie(global::System.Int64 id, global::System.String profile)
 {
     Freebie freebie = new Freebie();
     freebie.Id = id;
     freebie.Profile = profile;
     return freebie;
 }