/// <summary> /// Create a new AuditProductDeleted object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="productId">Initial value of the ProductId property.</param> public static AuditProductDeleted CreateAuditProductDeleted(global::System.Int32 id, global::System.Int32 productId) { AuditProductDeleted auditProductDeleted = new AuditProductDeleted(); auditProductDeleted.Id = id; auditProductDeleted.ProductId = productId; return auditProductDeleted; }
/// <summary> /// Deprecated Method for adding a new object to the AuditProductsDeleted EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditProductsDeleted(AuditProductDeleted auditProductDeleted) { base.AddObject("AuditProductsDeleted", auditProductDeleted); }