Exemplo n.º 1
0
 //***************************************************** CREATE *********************************************************
 public bool CreateBar(Bar bar)
 {
     string query ="INSERT INTO "+Table.Bar+
     " Values('','"+bar.Name+"', '"+bar.Address+"', '"+bar.Image+"', '"+bar.ContactInfo+"', '"+bar.AdditionalInfo+"')";
     return ExecuteQuery(query);
 }
Exemplo n.º 2
0
 public void CreateIllBeThere(User user, Bar bar, DateTime date)
 {
     string query = "INSERT INTO "+Table.IllBeThere+
     " Values('', '"+user.ID+"', '"+bar.ID+"', '"+date+"')" ;
     ExecuteQuery(query);
 }
Exemplo n.º 3
0
 public Bar GetBarByName(Bar bar)
 {
     return null;
 }