📄 dataset8.h
字号:
#pragma once
#using <System.dll>
#using <System.Data.dll>
#using <System.Xml.dll>
#using <mscorlib.dll>
//
// 此源代码由 xsd, Version=1.1.4322.2032 自动生成。
//
namespace My {
using namespace System;
using namespace System::Data;
using namespace System::Xml;
using namespace System::Runtime::Serialization;
using namespace System;
public __gc class DataSet8;
[Serializable,
System::ComponentModel::DesignerCategoryAttribute(S"code"),
System::Diagnostics::DebuggerStepThrough,
System::ComponentModel::ToolboxItem(true)]
public __gc class DataSet8 : public System::Data::DataSet {
public : __gc class ImportTableDataTable;
public : __gc class ImportTableRow;
public : __gc class ImportTableRowChangeEvent;
private: My::DataSet8::ImportTableDataTable * tableImportTable;
public: DataSet8();
protected: DataSet8(System::Runtime::Serialization::SerializationInfo * info, System::Runtime::Serialization::StreamingContext context);
public: [property: System::ComponentModel::Browsable(false),
property: System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Content)]
__property My::DataSet8::ImportTableDataTable * get_ImportTable();
public: virtual System::Data::DataSet * Clone();
protected: virtual System::Boolean ShouldSerializeTables();
protected: virtual System::Boolean ShouldSerializeRelations();
protected: virtual System::Void ReadXmlSerializable(System::Xml::XmlReader * reader);
protected: virtual System::Xml::Schema::XmlSchema * GetSchemaSerializable();
public private: System::Void InitVars();
private: System::Void InitClass();
private: System::Boolean ShouldSerializeImportTable();
private: System::Void SchemaChanged(System::Object * sender, System::ComponentModel::CollectionChangeEventArgs * e);
public: __delegate System::Void ImportTableRowChangeEventHandler(System::Object * sender, My::DataSet8::ImportTableRowChangeEvent * e);
public : [System::Diagnostics::DebuggerStepThrough]
__gc class ImportTableDataTable : public System::Data::DataTable, public System::Collections::IEnumerable {
private: System::Data::DataColumn * columnStockerID;
private: System::Data::DataColumn * columnImportDate;
private: System::Data::DataColumn * columnOperator;
private: System::Data::DataColumn * columnCreater;
private: System::Data::DataColumn * columnWareID;
private: System::Data::DataColumn * columnImportQuantity;
private: System::Data::DataColumn * columnImportPrice;
private: System::Data::DataColumn * columnTotal;
private: System::Data::DataColumn * columnTaxRate;
private: System::Data::DataColumn * columnTotalNoTax;
private: System::Data::DataColumn * columnTax;
private: System::Data::DataColumn * columnName;
private: System::Data::DataColumn * columnWareName;
private: System::Data::DataColumn * columnDepot;
private: System::Data::DataColumn * columnUnit;
public private: ImportTableDataTable();
public private: ImportTableDataTable(System::Data::DataTable * table);
public: [property: System::ComponentModel::Browsable(false)]
__property System::Int32 get_Count();
public private: __property System::Data::DataColumn * get_StockerIDColumn();
public private: __property System::Data::DataColumn * get_ImportDateColumn();
public private: __property System::Data::DataColumn * get_OperatorColumn();
public private: __property System::Data::DataColumn * get_CreaterColumn();
public private: __property System::Data::DataColumn * get_WareIDColumn();
public private: __property System::Data::DataColumn * get_ImportQuantityColumn();
public private: __property System::Data::DataColumn * get_ImportPriceColumn();
public private: __property System::Data::DataColumn * get_TotalColumn();
public private: __property System::Data::DataColumn * get_TaxRateColumn();
public private: __property System::Data::DataColumn * get_TotalNoTaxColumn();
public private: __property System::Data::DataColumn * get_TaxColumn();
public private: __property System::Data::DataColumn * get_NameColumn();
public private: __property System::Data::DataColumn * get_WareNameColumn();
public private: __property System::Data::DataColumn * get_DepotColumn();
public private: __property System::Data::DataColumn * get_UnitColumn();
public: __property My::DataSet8::ImportTableRow * get_Item(System::Int32 index);
public: __event My::DataSet8::ImportTableRowChangeEventHandler * ImportTableRowChanged;
public: __event My::DataSet8::ImportTableRowChangeEventHandler * ImportTableRowChanging;
public: __event My::DataSet8::ImportTableRowChangeEventHandler * ImportTableRowDeleted;
public: __event My::DataSet8::ImportTableRowChangeEventHandler * ImportTableRowDeleting;
public: System::Void AddImportTableRow(My::DataSet8::ImportTableRow * row);
public: My::DataSet8::ImportTableRow * AddImportTableRow(System::String * StockerID, System::DateTime ImportDate, System::String * Operator, System::String * Creater, System::String * WareID, System::Decimal ImportQuantity, System::Decimal ImportPrice, System::Decimal Total, System::Decimal TaxRate, System::Decimal TotalNoTax, System::Decimal Tax, System::String * Name, System::String * WareName, System::String * Depot, System::String * Unit);
public: System::Collections::IEnumerator * GetEnumerator();
public: virtual System::Data::DataTable * Clone();
protected: virtual System::Data::DataTable * CreateInstance();
public private: System::Void InitVars();
private: System::Void InitClass();
public: My::DataSet8::ImportTableRow * NewImportTableRow();
protected: virtual System::Data::DataRow * NewRowFromBuilder(System::Data::DataRowBuilder * builder);
protected: virtual System::Type * GetRowType();
protected: virtual System::Void OnRowChanged(System::Data::DataRowChangeEventArgs * e);
protected: virtual System::Void OnRowChanging(System::Data::DataRowChangeEventArgs * e);
protected: virtual System::Void OnRowDeleted(System::Data::DataRowChangeEventArgs * e);
protected: virtual System::Void OnRowDeleting(System::Data::DataRowChangeEventArgs * e);
public: System::Void RemoveImportTableRow(My::DataSet8::ImportTableRow * row);
};
public : [System::Diagnostics::DebuggerStepThrough]
__gc class ImportTableRow : public System::Data::DataRow {
private: My::DataSet8::ImportTableDataTable * tableImportTable;
public private: ImportTableRow(System::Data::DataRowBuilder * rb);
public: __property System::String * get_StockerID();
public: __property void set_StockerID(System::String * value);
public: __property System::DateTime get_ImportDate();
public: __property void set_ImportDate(System::DateTime value);
public: __property System::String * get_Operator();
public: __property void set_Operator(System::String * value);
public: __property System::String * get_Creater();
public: __property void set_Creater(System::String * value);
public: __property System::String * get_WareID();
public: __property void set_WareID(System::String * value);
public: __property System::Decimal get_ImportQuantity();
public: __property void set_ImportQuantity(System::Decimal value);
public: __property System::Decimal get_ImportPrice();
public: __property void set_ImportPrice(System::Decimal value);
public: __property System::Decimal get_Total();
public: __property void set_Total(System::Decimal value);
public: __property System::Decimal get_TaxRate();
public: __property void set_TaxRate(System::Decimal value);
public: __property System::Decimal get_TotalNoTax();
public: __property void set_TotalNoTax(System::Decimal value);
public: __property System::Decimal get_Tax();
public: __property void set_Tax(System::Decimal value);
public: __property System::String * get_Name();
public: __property void set_Name(System::String * value);
public: __property System::String * get_WareName();
public: __property void set_WareName(System::String * value);
public: __property System::String * get_Depot();
public: __property void set_Depot(System::String * value);
public: __property System::String * get_Unit();
public: __property void set_Unit(System::String * value);
public: System::Boolean IsImportDateNull();
public: System::Void SetImportDateNull();
public: System::Boolean IsOperatorNull();
public: System::Void SetOperatorNull();
public: System::Boolean IsCreaterNull();
public: System::Void SetCreaterNull();
public: System::Boolean IsImportPriceNull();
public: System::Void SetImportPriceNull();
public: System::Boolean IsTotalNull();
public: System::Void SetTotalNull();
public: System::Boolean IsTaxRateNull();
public: System::Void SetTaxRateNull();
public: System::Boolean IsTotalNoTaxNull();
public: System::Void SetTotalNoTaxNull();
public: System::Boolean IsTaxNull();
public: System::Void SetTaxNull();
public: System::Boolean IsNameNull();
public: System::Void SetNameNull();
public: System::Boolean IsWareNameNull();
public: System::Void SetWareNameNull();
public: System::Boolean IsDepotNull();
public: System::Void SetDepotNull();
};
public : [System::Diagnostics::DebuggerStepThrough]
__gc class ImportTableRowChangeEvent : public System::EventArgs {
private: My::DataSet8::ImportTableRow * eventRow;
private: System::Data::DataRowAction eventAction;
public: ImportTableRowChangeEvent(My::DataSet8::ImportTableRow * row, System::Data::DataRowAction action);
public: __property My::DataSet8::ImportTableRow * get_Row();
public: __property System::Data::DataRowAction get_Action();
};
};
inline DataSet8::DataSet8() {
this->InitClass();
System::ComponentModel::CollectionChangeEventHandler * schemaChangedHandler = new System::ComponentModel::CollectionChangeEventHandler(this, SchemaChanged);
this->Tables->CollectionChanged += schemaChangedHandler;
this->Relations->CollectionChanged += schemaChangedHandler;
}
inline DataSet8::DataSet8(System::Runtime::Serialization::SerializationInfo * info, System::Runtime::Serialization::StreamingContext context) {
System::String * strSchema = (__try_cast<System::String * >(info->GetValue(S"XmlSchema", __typeof(System::String))));
if ((strSchema != 0)) {
System::Data::DataSet * ds = new System::Data::DataSet();
ds->ReadXmlSchema(new System::Xml::XmlTextReader(new System::IO::StringReader(strSchema)));
if ((ds->Tables->Item[S"ImportTable"] != 0)) {
this->Tables->Add(new My::DataSet8::ImportTableDataTable(ds->Tables->Item[S"ImportTable"]));
}
this->DataSetName = ds->DataSetName;
this->Prefix = ds->Prefix;
this->Namespace = ds->Namespace;
this->Locale = ds->Locale;
this->CaseSensitive = ds->CaseSensitive;
this->EnforceConstraints = ds->EnforceConstraints;
this->Merge(ds, false, System::Data::MissingSchemaAction::Add);
this->InitVars();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -