/// <summary> /// Deprecated Method for adding a new object to the OrdDicItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrdDicItem(OrdDicItem ordDicItem) { base.AddObject("OrdDicItem", ordDicItem); }
/// <summary> /// Create a new OrdDicItem object. /// </summary> /// <param name="dicItemID">Initial value of the DicItemID property.</param> /// <param name="dicItemName">Initial value of the DicItemName property.</param> /// <param name="dicTypeID">Initial value of the DicTypeID property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="isDefault">Initial value of the IsDefault property.</param> /// <param name="sortIndex">Initial value of the SortIndex property.</param> public static OrdDicItem CreateOrdDicItem(global::System.Int32 dicItemID, global::System.String dicItemName, global::System.Int32 dicTypeID, global::System.String active, global::System.String isDefault, global::System.Int32 sortIndex) { OrdDicItem ordDicItem = new OrdDicItem(); ordDicItem.DicItemID = dicItemID; ordDicItem.DicItemName = dicItemName; ordDicItem.DicTypeID = dicTypeID; ordDicItem.Active = active; ordDicItem.IsDefault = isDefault; ordDicItem.SortIndex = sortIndex; return ordDicItem; }