/// <summary> /// Create a new SysDicItem 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="isActive">Initial value of the IsActive property.</param> /// <param name="isDefault">Initial value of the IsDefault property.</param> /// <param name="sortIndex">Initial value of the SortIndex property.</param> public static SysDicItem CreateSysDicItem(global::System.Int32 dicItemID, global::System.String dicItemName, global::System.Int32 dicTypeID, global::System.String isActive, global::System.String isDefault, global::System.Int32 sortIndex) { SysDicItem sysDicItem = new SysDicItem(); sysDicItem.DicItemID = dicItemID; sysDicItem.DicItemName = dicItemName; sysDicItem.DicTypeID = dicTypeID; sysDicItem.IsActive = isActive; sysDicItem.IsDefault = isDefault; sysDicItem.SortIndex = sortIndex; return sysDicItem; }
/// <summary> /// Deprecated Method for adding a new object to the SysDicItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSysDicItem(SysDicItem sysDicItem) { base.AddObject("SysDicItem", sysDicItem); }