Inheritance: System.Data.Objects.DataClasses.EntityObject
        /// <summary>
        /// Create a new DeletedItem object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="entitySet">Initial value of the EntitySet property.</param>
        /// <param name="ts">Initial value of the Ts property.</param>
        public static DeletedItem CreateDeletedItem(global::System.Int32 id, global::System.String entitySet, global::System.DateTime ts)
        {
            DeletedItem deletedItem = new DeletedItem();

            deletedItem.Id        = id;
            deletedItem.EntitySet = entitySet;
            deletedItem.Ts        = ts;
            return(deletedItem);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new DeletedItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="entitySet">Initial value of the EntitySet property.</param>
 /// <param name="ts">Initial value of the Ts property.</param>
 public static DeletedItem CreateDeletedItem(global::System.Int32 id, global::System.String entitySet, global::System.DateTime ts)
 {
     DeletedItem deletedItem = new DeletedItem();
     deletedItem.Id = id;
     deletedItem.EntitySet = entitySet;
     deletedItem.Ts = ts;
     return deletedItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeletedItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDeletedItems(DeletedItem deletedItem)
 {
     base.AddObject("DeletedItems", deletedItem);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DeletedItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDeletedItems(DeletedItem deletedItem)
 {
     base.AddObject("DeletedItems", deletedItem);
 }