Hi Guys:
I have a commerce server web application running on site server. The way
BLOB has been stored is through dbStorage function calls specifying the
table, the primary key, the marshalled field and the connection string
//initialize DBStoreClass
dbStorage.InitStorage(connString, tableName, primaryKeyField,
"Commerce.OrderForm", marshalledField,
dateChangedField);
//save orderform to DB
if (newData)
{
// If the OrderForm is new, then insert into database.
dbStorage.InsertData(null, orderform);
}
else
{
// If the OrderForm already exists, then update it in the database.
dbStorage.CommitData(null, orderform);
}
I want to know if the same stuff we can do through CS2K API. The objective
is to store the OrderForm BLOB in a user defined custom table lets say
t_basket. thanks in anticipation.


|