ProductsTableAdapter</h4>
class ProductsTableAdapter : public System::ComponentModel::Component {
private: System::Data::Odbc::OdbcDataAdapter^ _adapter;
private: System::Data::Odbc::OdbcConnection^ _connection;
private: cli::array< System::Data::Odbc::OdbcCommand^ >^ _commandCollection;
private: System::Boolean _clearBeforeFill;
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
ProductsTableAdapter();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::Odbc::OdbcDataAdapter^ Adapter {
System::Data::Odbc::OdbcDataAdapter^ get();
}
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::Odbc::OdbcConnection^ Connection {
System::Data::Odbc::OdbcConnection^ get();
System::Void set(System::Data::Odbc::OdbcConnection^ value);
}
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property cli::array< System::Data::Odbc::OdbcCommand^ >^ CommandCollection {
cli::array< System::Data::Odbc::OdbcCommand^ >^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Boolean ClearBeforeFill {
System::Boolean get();
System::Void set(System::Boolean value);
}
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitAdapter();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitConnection();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitCommandCollection();
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
[System::ComponentModel::DataObjectMethodAttribute(System::ComponentModel::DataObjectMethodType::Fill, true)]
virtual System::Int32 Fill(Ex22_05::DataSet1::ProductsDataTable^ dataTable);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
[System::ComponentModel::DataObjectMethodAttribute(System::ComponentModel::DataObjectMethodType::Select, true)]
virtual Ex22_05::DataSet1::ProductsDataTable^ GetData();
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
virtual System::Int32 Update(Ex22_05::DataSet1::ProductsDataTable^ dataTable);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
virtual System::Int32 Update(Ex22_05::DataSet1^ dataSet);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
virtual System::Int32 Update(System::Data::DataRow^ dataRow);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
virtual System::Int32 Update(cli::array< System::Data::DataRow^ >^ dataRows);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
[System::ComponentModel::DataObjectMethodAttribute(System::ComponentModel::DataObjectMethodType::Delete, true)]
virtual System::Int32 Delete(
System::Int32 Original_ProductID,
System::String^ Original_ProductName,
System::Nullable Original_SupplierID,
System::Nullable Original_CategoryID,
System::String^ Original_QuantityPerUnit,
System::Nullable Original_UnitPrice,
System::Nullable Original_UnitsInStock,
System::Nullable Original_UnitsOnOrder,
System::Nullable Original_ReorderLevel,
System::Boolean Original_Discontinued);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
[System::ComponentModel::DataObjectMethodAttribute(System::ComponentModel::DataObjectMethodType::Insert, true)]
virtual System::Int32 Insert(
System::String^ ProductName,
System::Nullable SupplierID,
System::Nullable CategoryID,
System::String^ QuantityPerUnit,
System::Nullable UnitPrice,
System::Nullable UnitsInStock,
System::Nullable UnitsOnOrder,
System::Nullable ReorderLevel,
System::Boolean Discontinued);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
[System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.TableAdapter")]
[System::ComponentModel::DataObjectMethodAttribute(System::ComponentModel::DataObjectMethodType::Update, true)]
virtual System::Int32 Update(
System::String^ ProductName,
System::Nullable SupplierID,
System::Nullable CategoryID,
System::String^ QuantityPerUnit,
System::Nullable UnitPrice,
System::Nullable UnitsInStock,
System::Nullable UnitsOnOrder,
System::Nullable ReorderLevel,
System::Boolean Discontinued,
System::Int32 Original_ProductID,
System::String^ Original_ProductName,
System::Nullable Original_SupplierID,
System::Nullable Original_CategoryID,
System::String^ Original_QuantityPerUnit,
System::Nullable Original_UnitPrice,
System::Nullable Original_UnitsInStock,
System::Nullable Original_UnitsOnOrder,
System::Nullable Original_ReorderLevel,
System::Boolean Original_Discontinued);
};