public void demo() { SMBillsTransaction trans = new SMBillsTransaction() { Amount_in_cents = 100, Biro_stevilka_racuna = "some", Channel_id = "", Currency = "EUR", MPO1 = "", Order_id = "", Payment_token_number = "", Status = "", Transaction_id = "some" }; context.Transactions.Add(trans); context.SaveChanges(); }
public void InsertRecord(SMBillsTransaction trans) { context.Transactions.Add(trans); context.SaveChanges(); }