Пример #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);
 }
Пример #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);
 }
Пример #3
0
 public Bar GetBarByName(Bar bar)
 {
     return null;
 }