📄 dataset1.h
字号:
#pragma once
#using <mscorlib.dll>
#using <System.dll>
#using <System.Data.dll>
#using <System.Xml.dll>
#using <System.Data.dll>
using namespace System::Security::Permissions;
[assembly:SecurityPermissionAttribute(SecurityAction::RequestMinimum, SkipVerification=false)];
//
// This source code was auto-generated by xsd, Version=2.0.50727.26.
//
namespace Ex22_04 {
using namespace System;
using namespace System;
ref class DataSet1;
[System::CodeDom::Compiler::GeneratedCodeAttribute(L"System.Data.Design.TypedDataSetGenerator", L"2.0.0.0"),
Serializable,
System::ComponentModel::DesignerCategoryAttribute(L"code"),
System::ComponentModel::ToolboxItem(true),
System::Xml::Serialization::XmlSchemaProviderAttribute(L"GetTypedDataSetSchema"),
System::Xml::Serialization::XmlRootAttribute(L"DataSet1"),
System::ComponentModel::Design::HelpKeywordAttribute(L"vs.data.DataSet")]
public ref class DataSet1 : public System::Data::DataSet {
public : ref class Order_DetailsDataTable;
public : ref class Order_DetailsRow;
public : ref class Order_DetailsRowChangeEvent;
private: Ex22_04::DataSet1::Order_DetailsDataTable^ tableOrder_Details;
private: System::Data::SchemaSerializationMode _schemaSerializationMode;
public : delegate System::Void Order_DetailsRowChangeEventHandler(System::Object^ sender, Ex22_04::DataSet1::Order_DetailsRowChangeEvent^ e);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
DataSet1();
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
DataSet1(System::Runtime::Serialization::SerializationInfo^ info, System::Runtime::Serialization::StreamingContext context);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute,
System::ComponentModel::Browsable(false),
System::ComponentModel::DesignerSerializationVisibility(System::ComponentModel::DesignerSerializationVisibility::Content)]
property Ex22_04::DataSet1::Order_DetailsDataTable^ Order_Details {
Ex22_04::DataSet1::Order_DetailsDataTable^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute,
System::ComponentModel::BrowsableAttribute(true),
System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Visible)]
virtual property System::Data::SchemaSerializationMode SchemaSerializationMode {
System::Data::SchemaSerializationMode get() override;
System::Void set(System::Data::SchemaSerializationMode value) override;
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute,
System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Hidden)]
property System::Data::DataTableCollection^ Tables {
System::Data::DataTableCollection^ get() new;
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute,
System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Hidden)]
property System::Data::DataRelationCollection^ Relations {
System::Data::DataRelationCollection^ get() new;
}
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void InitializeDerivedDataSet() override;
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Data::DataSet^ Clone() override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Boolean ShouldSerializeTables() override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Boolean ShouldSerializeRelations() override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void ReadXmlSerializable(System::Xml::XmlReader^ reader) override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Xml::Schema::XmlSchema^ GetSchemaSerializable() override;
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitVars();
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitVars(System::Boolean initTable);
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitClass();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Boolean ShouldSerializeOrder_Details();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void SchemaChanged(System::Object^ sender, System::ComponentModel::CollectionChangeEventArgs^ e);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
static System::Xml::Schema::XmlSchemaComplexType^ GetTypedDataSetSchema(System::Xml::Schema::XmlSchemaSet^ xs);
public : [System::CodeDom::Compiler::GeneratedCodeAttribute(L"System.Data.Design.TypedDataSetGenerator", L"2.0.0.0"),
System::Serializable,
System::Xml::Serialization::XmlSchemaProviderAttribute(L"GetTypedTableSchema")]
ref class Order_DetailsDataTable : public System::Data::DataTable, public System::Collections::IEnumerable {
private: System::Data::DataColumn^ columnOrderID;
private: System::Data::DataColumn^ columnProductID;
private: System::Data::DataColumn^ columnUnitPrice;
private: System::Data::DataColumn^ columnQuantity;
private: System::Data::DataColumn^ columnDiscount;
public: event Ex22_04::DataSet1::Order_DetailsRowChangeEventHandler^ Order_DetailsRowChanging;
public: event Ex22_04::DataSet1::Order_DetailsRowChangeEventHandler^ Order_DetailsRowChanged;
public: event Ex22_04::DataSet1::Order_DetailsRowChangeEventHandler^ Order_DetailsRowDeleting;
public: event Ex22_04::DataSet1::Order_DetailsRowChangeEventHandler^ Order_DetailsRowDeleted;
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Order_DetailsDataTable();
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Order_DetailsDataTable(System::Data::DataTable^ table);
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Order_DetailsDataTable(System::Runtime::Serialization::SerializationInfo^ info, System::Runtime::Serialization::StreamingContext context);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::DataColumn^ OrderIDColumn {
System::Data::DataColumn^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::DataColumn^ ProductIDColumn {
System::Data::DataColumn^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::DataColumn^ UnitPriceColumn {
System::Data::DataColumn^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::DataColumn^ QuantityColumn {
System::Data::DataColumn^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Data::DataColumn^ DiscountColumn {
System::Data::DataColumn^ get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute,
System::ComponentModel::Browsable(false)]
property System::Int32 Count {
System::Int32 get();
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property Ex22_04::DataSet1::Order_DetailsRow^ default [System::Int32 ] {
Ex22_04::DataSet1::Order_DetailsRow^ get(System::Int32 index);
}
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void AddOrder_DetailsRow(Ex22_04::DataSet1::Order_DetailsRow^ row);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Ex22_04::DataSet1::Order_DetailsRow^ AddOrder_DetailsRow(System::Int32 OrderID, System::Int32 ProductID, System::Decimal UnitPrice,
System::Int16 Quantity, System::Single Discount);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Ex22_04::DataSet1::Order_DetailsRow^ FindByOrderIDProductID(System::Int32 OrderID, System::Int32 ProductID);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Collections::IEnumerator^ GetEnumerator();
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Data::DataTable^ Clone() override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Data::DataTable^ CreateInstance() override;
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitVars();
private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void InitClass();
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Ex22_04::DataSet1::Order_DetailsRow^ NewOrder_DetailsRow();
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Data::DataRow^ NewRowFromBuilder(System::Data::DataRowBuilder^ builder) override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Type^ GetRowType() override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void OnRowChanged(System::Data::DataRowChangeEventArgs^ e) override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void OnRowChanging(System::Data::DataRowChangeEventArgs^ e) override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void OnRowDeleted(System::Data::DataRowChangeEventArgs^ e) override;
protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
virtual System::Void OnRowDeleting(System::Data::DataRowChangeEventArgs^ e) override;
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
System::Void RemoveOrder_DetailsRow(Ex22_04::DataSet1::Order_DetailsRow^ row);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
static System::Xml::Schema::XmlSchemaComplexType^ GetTypedTableSchema(System::Xml::Schema::XmlSchemaSet^ xs);
};
public : [System::CodeDom::Compiler::GeneratedCodeAttribute(L"System.Data.Design.TypedDataSetGenerator", L"2.0.0.0")]
ref class Order_DetailsRow : public System::Data::DataRow {
private: Ex22_04::DataSet1::Order_DetailsDataTable^ tableOrder_Details;
internal: [System::Diagnostics::DebuggerNonUserCodeAttribute]
Order_DetailsRow(System::Data::DataRowBuilder^ rb);
public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
property System::Int32 OrderID {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -