Esempio n. 1
0
 public bool Delete(DbLotAdmit bookmark)
 {
     return(Context.Connection.Execute("DELETE FROM fso_lot_admit WHERE lot_id = @lot_id AND admit_type = @admit_type AND avatar_id = @avatar_id", bookmark) > 0);
 }
Esempio n. 2
0
 public void Create(DbLotAdmit bookmark)
 {
     Context.Connection.Execute("INSERT INTO fso_lot_admit (lot_id, avatar_id, admit_type) " +
                                " VALUES (@lot_id, @avatar_id, @admit_type)"
                                , bookmark);
 }