예제 #1
0
        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();
        }
예제 #2
0
 public void InsertRecord(SMBillsTransaction trans)
 {
     context.Transactions.Add(trans);
     context.SaveChanges();
 }