select
LineItem_Price
from LineItems
where Order_ID = #Order_ID#
and LineItem_ID = #LineItem_ID#
select
LineItem_ID as Id,
LineItem_Code as Code,
LineItem_Quantity as Quantity,
LineItem_Price as Price
from LineItems where Order_ID = #value#
select
LineItem_ID as Id,
LineItem_Code as Code,
LineItem_Quantity as Quantity,
LineItem_Price as Price
from LineItems where Order_ID = #value#
order by LineItem_Code
select
LineItem_ID as Id,
LineItem_Code as Code,
LineItem_Quantity as Quantity,
LineItem_Price as Price
from LineItems
where Order_ID = #Order_ID#
and LineItem_ID = #LineItem_ID#
select
LineItem_ID as Id,
LineItem_Code as Code,
LineItem_Quantity as Quantity,
LineItem_Price as Price,
LineItem_Picture as PictureData
from LineItems
where Order_ID = #Order_ID#
and LineItem_ID = #LineItem_ID#
select
LineItem_ID,
LineItem_Code,
LineItem_Quantity,
LineItem_Price
from LineItems
where LineItem_ID = #value#
insert into LineItems
(LineItem_ID, Order_ID, LineItem_Code, LineItem_Quantity, LineItem_Price)
values
(?, ?, ?, ?, ?);
insert into LineItems
(LineItem_ID, Order_ID, LineItem_Code, LineItem_Quantity, LineItem_Price, LineItem_Picture)
values
(?, ?, ?, ?, ?, ?);
insert into LineItems
(LineItem_ID, Order_ID, LineItem_Code, LineItem_Quantity, LineItem_Price)
values
(#Id#, #Order.Id#, #Code#, #Quantity#, #Price, dbType=Decimal#)
select 99 from LineItems where LineItem_ID = 1 and Order_ID=1
select 99 from LineItems where LineItem_ID = 1 and Order_ID=1
insert into LineItems
(LineItem_ID, Order_ID, LineItem_Code, LineItem_Quantity, LineItem_Price)
values
(#Id#, #Order.Id#, #Code#, #Quantity#, #Price, dbType=Decimal#)
insert into LineItems
(LineItem_ID, Order_ID, LineItem_Code, LineItem_Quantity, LineItem_Price)
values
(#Id#, #Order.Id#, #Code#, #Quantity#, #Price, dbType=Decimal#)
delete from LineItems where Order_ID = 10
delete from LineItems where Order_ID = 9