Esempio n. 1
0
 public void UpdatePin(CustomPin item)
 {
     _db.Execute("update CustomPin set airlineName='" + item.PinName + "', airlineImageURL='" + item.CreatedDate
                 + "', departureTime='" + item.ModifiedDate + "' where Id=" + item.Id);
 }
Esempio n. 2
0
 /*----- Pin Manage -----*/
 public void AddPin(CustomPin item)
 {
     _db.Execute("insert into CustomPin values(null," + item.PinName + ",'" + item.CreatedDate + "','" + item.ModifiedDate + "');");
 }