public SPayment Createpayment(global::System.Int32 rental_id, global::System.Int32 payment_id, global::System.Int32 customer_id, global::System.Byte staff_id, global::System.Decimal amount, global::System.DateTime payment_date, global::System.DateTime last_update,global::System.Int32 inventory_id, global::System.String filmtitle)
{
SPayment payment = new SPayment();
payment.payment_id = payment_id;
payment.rental_id = rental_id;
payment.customer_id = customer_id;
payment.staff_id = staff_id;
payment.amount = amount;
payment.payment_date = payment_date;
payment.last_update = last_update;
payment.inventory_id = inventory_id;
payment.filmtitle = filmtitle;
return payment;
}