//***************************************************** 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); }
public void CreateIllBeThere(User user, Bar bar, DateTime date) { string query = "INSERT INTO "+Table.IllBeThere+ " Values('', '"+user.ID+"', '"+bar.ID+"', '"+date+"')" ; ExecuteQuery(query); }
public Bar GetBarByName(Bar bar) { return null; }