示例#1
0
 /// <summary>
 /// Create a new WorldItem object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="atom">Initial value of the Atom property.</param>
 public static WorldItem CreateWorldItem(global::System.Int64 id, global::System.String atom)
 {
     WorldItem worldItem = new WorldItem();
     worldItem.ID = id;
     worldItem.Atom = atom;
     return worldItem;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorldSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorldSet(WorldItem worldItem)
 {
     base.AddObject("WorldSet", worldItem);
 }