/// <summary> /// Deprecated Method for adding a new object to the CatalogueItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCatalogueItems(CatalogueItem1 catalogueItem1) { base.AddObject("CatalogueItems", catalogueItem1); }
/// <summary> /// Create a new CatalogueItem1 object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="tid">Initial value of the Tid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> /// <param name="catalogueId">Initial value of the CatalogueId property.</param> /// <param name="validFrom">Initial value of the ValidFrom property.</param> /// <param name="validUntil">Initial value of the ValidUntil property.</param> /// <param name="endOfSale">Initial value of the EndOfSale property.</param> /// <param name="endOfLife">Initial value of the EndOfLife property.</param> /// <param name="productId">Initial value of the ProductId property.</param> public static CatalogueItem1 CreateCatalogueItem1(global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified, global::System.Int64 catalogueId, global::System.DateTimeOffset validFrom, global::System.DateTimeOffset validUntil, global::System.DateTimeOffset endOfSale, global::System.DateTimeOffset endOfLife, global::System.Int64 productId) { CatalogueItem1 catalogueItem1 = new CatalogueItem1(); catalogueItem1.Id = id; catalogueItem1.Tid = tid; catalogueItem1.Name = name; catalogueItem1.CreatedBy = createdBy; catalogueItem1.ModifiedBy = modifiedBy; catalogueItem1.Created = created; catalogueItem1.Modified = modified; catalogueItem1.CatalogueId = catalogueId; catalogueItem1.ValidFrom = validFrom; catalogueItem1.ValidUntil = validUntil; catalogueItem1.EndOfSale = endOfSale; catalogueItem1.EndOfLife = endOfLife; catalogueItem1.ProductId = productId; return catalogueItem1; }