/// <summary> /// Create a new AuditProductUpdated object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="unitPrice">Initial value of the UnitPrice property.</param> public static AuditProductUpdated CreateAuditProductUpdated(global::System.Int32 id, global::System.Int32 productId, global::System.String name, global::System.Decimal unitPrice) { AuditProductUpdated auditProductUpdated = new AuditProductUpdated(); auditProductUpdated.Id = id; auditProductUpdated.ProductId = productId; auditProductUpdated.Name = name; auditProductUpdated.UnitPrice = unitPrice; return auditProductUpdated; }
/// <summary> /// Deprecated Method for adding a new object to the AuditProductsUpdated EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditProductsUpdated(AuditProductUpdated auditProductUpdated) { base.AddObject("AuditProductsUpdated", auditProductUpdated); }