Exemple #1
0
        /// <summary>
        /// Create a new ItemDetail object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        public static ItemDetail CreateItemDetail(global::System.Int32 id)
        {
            ItemDetail itemDetail = new ItemDetail();

            itemDetail.ID = id;
            return(itemDetail);
        }
 public void UpdateItemDetail(ItemDetail current)
 {
     this.ObjectContext.ItemDetails.AttachAsModified(current, this.ChangeSet.GetOriginal(current));
 }
Exemple #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemDetails(ItemDetail itemDetail)
 {
     base.AddObject("ItemDetails", itemDetail);
 }