📄 datasetselltable.h
字号:
#pragma once
#using <System.dll>
#using <System.Data.dll>
#using <System.Xml.dll>
#using <mscorlib.dll>
//
// 此源代码由 xsd, Version=1.1.4322.573 自动生成。
//
namespace My {
using namespace System;
using namespace System::Data;
using namespace System::Xml;
using namespace System::Runtime::Serialization;
using namespace System;
public __gc class DataSetSellTable;
[Serializable,
System::ComponentModel::DesignerCategoryAttribute(S"code"),
System::Diagnostics::DebuggerStepThrough,
System::ComponentModel::ToolboxItem(true)]
public __gc class DataSetSellTable : public System::Data::DataSet {
public : __gc class SellTableDataTable;
public : __gc class SellTableRow;
public : __gc class SellTableRowChangeEvent;
private: My::DataSetSellTable::SellTableDataTable * tableSellTable;
public: DataSetSellTable();
protected: DataSetSellTable(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::DataSetSellTable::SellTableDataTable * get_SellTable();
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 ShouldSerializeSellTable();
private: System::Void SchemaChanged(System::Object * sender, System::ComponentModel::CollectionChangeEventArgs * e);
public: __delegate System::Void SellTableRowChangeEventHandler(System::Object * sender, My::DataSetSellTable::SellTableRowChangeEvent * e);
public : [System::Diagnostics::DebuggerStepThrough]
__gc class SellTableDataTable : public System::Data::DataTable, public System::Collections::IEnumerable {
private: System::Data::DataColumn * columnDate;
private: System::Data::DataColumn * columnTotal;
private: System::Data::DataColumn * columnQuantity;
private: System::Data::DataColumn * columnPrice;
private: System::Data::DataColumn * columnDetailTotal;
private: System::Data::DataColumn * columnDiscount;
private: System::Data::DataColumn * columnDepot;
private: System::Data::DataColumn * columnTaxRate;
private: System::Data::DataColumn * columnWareName;
private: System::Data::DataColumn * columnCustomer;
public private: SellTableDataTable();
public private: SellTableDataTable(System::Data::DataTable * table);
public: [property: System::ComponentModel::Browsable(false)]
__property System::Int32 get_Count();
public private: __property System::Data::DataColumn * get_DateColumn();
public private: __property System::Data::DataColumn * get_TotalColumn();
public private: __property System::Data::DataColumn * get_QuantityColumn();
public private: __property System::Data::DataColumn * get_PriceColumn();
public private: __property System::Data::DataColumn * get_DetailTotalColumn();
public private: __property System::Data::DataColumn * get_DiscountColumn();
public private: __property System::Data::DataColumn * get_DepotColumn();
public private: __property System::Data::DataColumn * get_TaxRateColumn();
public private: __property System::Data::DataColumn * get_WareNameColumn();
public private: __property System::Data::DataColumn * get_CustomerColumn();
public: __property My::DataSetSellTable::SellTableRow * get_Item(System::Int32 index);
public: __event My::DataSetSellTable::SellTableRowChangeEventHandler * SellTableRowChanged;
public: __event My::DataSetSellTable::SellTableRowChangeEventHandler * SellTableRowChanging;
public: __event My::DataSetSellTable::SellTableRowChangeEventHandler * SellTableRowDeleted;
public: __event My::DataSetSellTable::SellTableRowChangeEventHandler * SellTableRowDeleting;
public: System::Void AddSellTableRow(My::DataSetSellTable::SellTableRow * row);
public: My::DataSetSellTable::SellTableRow * AddSellTableRow(System::DateTime Date, System::Decimal Total, System::Decimal Quantity, System::Decimal Price, System::Decimal DetailTotal, System::Decimal Discount, System::String * Depot, System::Decimal TaxRate, System::String * WareName, System::String * Customer);
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::DataSetSellTable::SellTableRow * NewSellTableRow();
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 RemoveSellTableRow(My::DataSetSellTable::SellTableRow * row);
};
public : [System::Diagnostics::DebuggerStepThrough]
__gc class SellTableRow : public System::Data::DataRow {
private: My::DataSetSellTable::SellTableDataTable * tableSellTable;
public private: SellTableRow(System::Data::DataRowBuilder * rb);
public: __property System::DateTime get_Date();
public: __property void set_Date(System::DateTime value);
public: __property System::Decimal get_Total();
public: __property void set_Total(System::Decimal value);
public: __property System::Decimal get_Quantity();
public: __property void set_Quantity(System::Decimal value);
public: __property System::Decimal get_Price();
public: __property void set_Price(System::Decimal value);
public: __property System::Decimal get_DetailTotal();
public: __property void set_DetailTotal(System::Decimal value);
public: __property System::Decimal get_Discount();
public: __property void set_Discount(System::Decimal value);
public: __property System::String * get_Depot();
public: __property void set_Depot(System::String * value);
public: __property System::Decimal get_TaxRate();
public: __property void set_TaxRate(System::Decimal value);
public: __property System::String * get_WareName();
public: __property void set_WareName(System::String * value);
public: __property System::String * get_Customer();
public: __property void set_Customer(System::String * value);
public: System::Boolean IsDateNull();
public: System::Void SetDateNull();
public: System::Boolean IsTotalNull();
public: System::Void SetTotalNull();
public: System::Boolean IsPriceNull();
public: System::Void SetPriceNull();
public: System::Boolean IsDetailTotalNull();
public: System::Void SetDetailTotalNull();
public: System::Boolean IsDiscountNull();
public: System::Void SetDiscountNull();
public: System::Boolean IsDepotNull();
public: System::Void SetDepotNull();
public: System::Boolean IsTaxRateNull();
public: System::Void SetTaxRateNull();
public: System::Boolean IsWareNameNull();
public: System::Void SetWareNameNull();
public: System::Boolean IsCustomerNull();
public: System::Void SetCustomerNull();
};
public : [System::Diagnostics::DebuggerStepThrough]
__gc class SellTableRowChangeEvent : public System::EventArgs {
private: My::DataSetSellTable::SellTableRow * eventRow;
private: System::Data::DataRowAction eventAction;
public: SellTableRowChangeEvent(My::DataSetSellTable::SellTableRow * row, System::Data::DataRowAction action);
public: __property My::DataSetSellTable::SellTableRow * get_Row();
public: __property System::Data::DataRowAction get_Action();
};
};
inline DataSetSellTable::DataSetSellTable() {
this->InitClass();
System::ComponentModel::CollectionChangeEventHandler * schemaChangedHandler = new System::ComponentModel::CollectionChangeEventHandler(this, SchemaChanged);
this->Tables->CollectionChanged += schemaChangedHandler;
this->Relations->CollectionChanged += schemaChangedHandler;
}
inline DataSetSellTable::DataSetSellTable(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"SellTable"] != 0)) {
this->Tables->Add(new My::DataSetSellTable::SellTableDataTable(ds->Tables->Item[S"SellTable"]));
}
this->DataSetName = ds->DataSetName;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -