Ejemplo n.º 1
0
 /// <summary>
 /// Create a new TrashItem object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="path">Initial value of the Path property.</param>
 public static TrashItem CreateTrashItem(global::System.Int64 id, global::System.String path)
 {
     TrashItem trashItem = new TrashItem();
     trashItem.ID = id;
     trashItem.Path = path;
     return trashItem;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Trash EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrash(TrashItem trashItem)
 {
     base.AddObject("Trash", trashItem);
 }