/// <summary> /// Deprecated Method for adding a new object to the ItemCatalogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemCatalogs(ItemCatalog itemCatalog) { base.AddObject("ItemCatalogs", itemCatalog); }
/// <summary> /// Create a new ItemCatalog object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="languageDescriptorId">Initial value of the LanguageDescriptorId property.</param> /// <param name="statusId">Initial value of the StatusId property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="created">Initial value of the Created property.</param> public static ItemCatalog CreateItemCatalog(global::System.Int32 id, global::System.Int32 languageDescriptorId, global::System.Int32 statusId, global::System.String code, global::System.DateTime created) { ItemCatalog itemCatalog = new ItemCatalog(); itemCatalog.Id = id; itemCatalog.LanguageDescriptorId = languageDescriptorId; itemCatalog.StatusId = statusId; itemCatalog.Code = code; itemCatalog.Created = created; return itemCatalog; }