/// <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)); }
/// <summary> /// Deprecated Method for adding a new object to the ItemDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemDetails(ItemDetail itemDetail) { base.AddObject("ItemDetails", itemDetail); }