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