Hi,I have a problem with CopyDataFrom. I have some DataSet and DataTable filled with data. Then I want to export this data through BusinessObject to SQL Server. I have correct data in the BO.CurrentDataTable, but after Save() I have no data on SQLServer. Save operation returns success.
I have a next code
Dim loBBDS As BestbuyImportDataSet = CType(toDS, BestbuyImportDataSet)
If loBBDS.vbestbuy.Count > 0 Then
Dim loVBestbuyBO As MKS.GoliathNet.BusinessObjects.ErpBestbuy.vbestbuyBO = New vbestbuyBO
loVBestbuyBO.mmks_deletemanufacturerartikels(_pmks_businessObject.driver_manufacturer_pk_id)
loVBestbuyBO.CopyDataFrom(loBBDS.vbestbuy, MicroFour.StrataFrame.Business.BusinessCloneDataType.ClearAndFillFromCompleteTable)
If loVBestbuyBO.IsDirty Then
MessageBox.Show("IsDirty")
End IfIf loVBestbuyBO.Save() = MicroFour.StrataFrame.Data.SaveUndoResult.Success Then
MessageBox.Show("SaveSuccess")
End IfSo step by step.
loBBDS.vbestbuy.count has 6000 records
After CopyDataFrom - businessObject CurrentDataTable has also 6000 records
IsDirty - FALSE!!!
Save() is Success! And NO DATA ON SQL SERVER!
Any help!
Thanks!