Click here to Skip to main content
15,920,005 members
Home / Discussions / Database
   

Database

 
GeneralRe: Storing images in SQL server and Display Pin
Grimolfr28-Jun-04 8:39
Grimolfr28-Jun-04 8:39 
GeneralStoring aobjects into SQL Server table Pin
Diego F.20-Jun-04 1:04
Diego F.20-Jun-04 1:04 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin20-Jun-04 22:38
Hesham Amin20-Jun-04 22:38 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.20-Jun-04 23:58
Diego F.20-Jun-04 23:58 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin21-Jun-04 3:12
Hesham Amin21-Jun-04 3:12 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.21-Jun-04 4:19
Diego F.21-Jun-04 4:19 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin21-Jun-04 21:52
Hesham Amin21-Jun-04 21:52 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.21-Jun-04 23:44
Diego F.21-Jun-04 23:44 
I'll try to explain my application. I'm making an application that
models a restaurant. I manage three types of objects:

- Dish: the basic object that has an id, name, description and price. It
represents all available dishes in the restaurant.
- DishCollection: is a collection of Dish objects that represents the dishes
from a single order (all dishes from all customers in a table)
- Order: this object has simple types - date, table, totalPrice- and a
DishCollection. This one represent an order, with the details of number of
table, date, the total price and the dishes that the customer have asked for
(the DishCollection)

I want to store the Order objects in a data base and later make some queries
to know the money collected, the most popular dish,... So I have to create
the tables.

Can you help me with the tables design?
GeneralRe: Storing aobjects into SQL Server table Pin
Grimolfr28-Jun-04 8:49
Grimolfr28-Jun-04 8:49 
GeneralADO.NET -> OleDb -> data adapter / parmeters question Pin
Vinay9220-Jun-04 0:21
Vinay9220-Jun-04 0:21 
GeneralRe: ADO.NET -> OleDb -> data adapter / parmeters question Pin
VenkatFor.NET20-Jun-04 10:16
VenkatFor.NET20-Jun-04 10:16 
GeneralRe: ADO.NET -> OleDb -> data adapter / parmeters question Pin
Vinay9220-Jun-04 16:41
Vinay9220-Jun-04 16:41 
GeneralComboBox Pin
viviansm18-Jun-04 20:42
viviansm18-Jun-04 20:42 
GeneralRe: ComboBox Pin
Karthikeyan Muthurajan20-Jun-04 18:59
Karthikeyan Muthurajan20-Jun-04 18:59 
GeneralStrange strings in SQL statement Pin
tnook18-Jun-04 7:55
tnook18-Jun-04 7:55 
GeneralRe: Strange strings in SQL statement Pin
Steven Campbell18-Jun-04 8:53
Steven Campbell18-Jun-04 8:53 
GeneralRe: Strange strings in SQL statement Pin
tnook18-Jun-04 9:18
tnook18-Jun-04 9:18 
GeneralRe: Strange strings in SQL statement Pin
Steven Campbell18-Jun-04 11:30
Steven Campbell18-Jun-04 11:30 
GeneralRe: Strange strings in SQL statement Pin
Michael Potter18-Jun-04 11:56
Michael Potter18-Jun-04 11:56 
GeneralRe: Strange strings in SQL statement Pin
mlsteeves18-Jun-04 14:50
mlsteeves18-Jun-04 14:50 
GeneralRe: Strange strings in SQL statement Pin
Grimolfr28-Jun-04 8:56
Grimolfr28-Jun-04 8:56 
Generalcalculating averaqe time from varchar datatype Pin
Jesse Evans18-Jun-04 6:33
Jesse Evans18-Jun-04 6:33 
GeneralRe: calculating averaqe time from varchar datatype Pin
Colin Angus Mackay18-Jun-04 13:34
Colin Angus Mackay18-Jun-04 13:34 
GeneralRe: calculating averaqe time from varchar datatype Pin
syed saba19-Jun-04 5:19
syed saba19-Jun-04 5:19 
GeneralMS Access as front-end and back-end Pin
winpiglet18-Jun-04 0:07
winpiglet18-Jun-04 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.