📄 datasetzdb.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace bggl {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.ToolboxItem(true)]
public class Datasetzdb : DataSet {
private BG_ZDBDataTable tableBG_ZDB;
public Datasetzdb() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
protected Datasetzdb(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["BG_ZDB"] != null)) {
this.Tables.Add(new BG_ZDBDataTable(ds.Tables["BG_ZDB"]));
}
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();
}
else {
this.InitClass();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public BG_ZDBDataTable BG_ZDB {
get {
return this.tableBG_ZDB;
}
}
public override DataSet Clone() {
Datasetzdb cln = ((Datasetzdb)(base.Clone()));
cln.InitVars();
return cln;
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.Reset();
DataSet ds = new DataSet();
ds.ReadXml(reader);
if ((ds.Tables["BG_ZDB"] != null)) {
this.Tables.Add(new BG_ZDBDataTable(ds.Tables["BG_ZDB"]));
}
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();
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
internal void InitVars() {
this.tableBG_ZDB = ((BG_ZDBDataTable)(this.Tables["BG_ZDB"]));
if ((this.tableBG_ZDB != null)) {
this.tableBG_ZDB.InitVars();
}
}
private void InitClass() {
this.DataSetName = "Datasetzdb";
this.Prefix = "";
this.Namespace = "http://tempuri.org/Datasetzdb.xsd";
this.Locale = new System.Globalization.CultureInfo("en-US");
this.CaseSensitive = false;
this.EnforceConstraints = true;
this.tableBG_ZDB = new BG_ZDBDataTable();
this.Tables.Add(this.tableBG_ZDB);
}
private bool ShouldSerializeBG_ZDB() {
return false;
}
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
public delegate void BG_ZDBRowChangeEventHandler(object sender, BG_ZDBRowChangeEvent e);
[System.Diagnostics.DebuggerStepThrough()]
public class BG_ZDBDataTable : DataTable, System.Collections.IEnumerable {
private DataColumn columnzid;
private DataColumn columnfid;
private DataColumn columnflx;
private DataColumn columnkname;
private DataColumn columnksf;
private DataColumn columnkrs;
private DataColumn columnkrzrq;
private DataColumn columnklksj;
private DataColumn columnkvipkh;
private DataColumn columnkfjjg;
private DataColumn columnksjsf;
private DataColumn columnkczy;
private DataColumn columnkzs;
internal BG_ZDBDataTable() :
base("BG_ZDB") {
this.InitClass();
}
internal BG_ZDBDataTable(DataTable table) :
base(table.TableName) {
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn zidColumn {
get {
return this.columnzid;
}
}
internal DataColumn fidColumn {
get {
return this.columnfid;
}
}
internal DataColumn flxColumn {
get {
return this.columnflx;
}
}
internal DataColumn knameColumn {
get {
return this.columnkname;
}
}
internal DataColumn ksfColumn {
get {
return this.columnksf;
}
}
internal DataColumn krsColumn {
get {
return this.columnkrs;
}
}
internal DataColumn krzrqColumn {
get {
return this.columnkrzrq;
}
}
internal DataColumn klksjColumn {
get {
return this.columnklksj;
}
}
internal DataColumn kvipkhColumn {
get {
return this.columnkvipkh;
}
}
internal DataColumn kfjjgColumn {
get {
return this.columnkfjjg;
}
}
internal DataColumn ksjsfColumn {
get {
return this.columnksjsf;
}
}
internal DataColumn kczyColumn {
get {
return this.columnkczy;
}
}
internal DataColumn kzsColumn {
get {
return this.columnkzs;
}
}
public BG_ZDBRow this[int index] {
get {
return ((BG_ZDBRow)(this.Rows[index]));
}
}
public event BG_ZDBRowChangeEventHandler BG_ZDBRowChanged;
public event BG_ZDBRowChangeEventHandler BG_ZDBRowChanging;
public event BG_ZDBRowChangeEventHandler BG_ZDBRowDeleted;
public event BG_ZDBRowChangeEventHandler BG_ZDBRowDeleting;
public void AddBG_ZDBRow(BG_ZDBRow row) {
this.Rows.Add(row);
}
public BG_ZDBRow AddBG_ZDBRow(string fid, string flx, string kname, string ksf, int krs, System.DateTime krzrq, System.DateTime klksj, string kvipkh, System.Decimal kfjjg, System.Decimal ksjsf, string kczy, string kzs) {
BG_ZDBRow rowBG_ZDBRow = ((BG_ZDBRow)(this.NewRow()));
rowBG_ZDBRow.ItemArray = new object[] {
null,
fid,
flx,
kname,
ksf,
krs,
krzrq,
klksj,
kvipkh,
kfjjg,
ksjsf,
kczy,
kzs};
this.Rows.Add(rowBG_ZDBRow);
return rowBG_ZDBRow;
}
public BG_ZDBRow FindByzid(System.Decimal zid) {
return ((BG_ZDBRow)(this.Rows.Find(new object[] {
zid})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
BG_ZDBDataTable cln = ((BG_ZDBDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new BG_ZDBDataTable();
}
internal void InitVars() {
this.columnzid = this.Columns["zid"];
this.columnfid = this.Columns["fid"];
this.columnflx = this.Columns["flx"];
this.columnkname = this.Columns["kname"];
this.columnksf = this.Columns["ksf"];
this.columnkrs = this.Columns["krs"];
this.columnkrzrq = this.Columns["krzrq"];
this.columnklksj = this.Columns["klksj"];
this.columnkvipkh = this.Columns["kvipkh"];
this.columnkfjjg = this.Columns["kfjjg"];
this.columnksjsf = this.Columns["ksjsf"];
this.columnkczy = this.Columns["kczy"];
this.columnkzs = this.Columns["kzs"];
}
private void InitClass() {
this.columnzid = new DataColumn("zid", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnzid);
this.columnfid = new DataColumn("fid", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnfid);
this.columnflx = new DataColumn("flx", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnflx);
this.columnkname = new DataColumn("kname", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkname);
this.columnksf = new DataColumn("ksf", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnksf);
this.columnkrs = new DataColumn("krs", typeof(int), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkrs);
this.columnkrzrq = new DataColumn("krzrq", typeof(System.DateTime), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkrzrq);
this.columnklksj = new DataColumn("klksj", typeof(System.DateTime), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnklksj);
this.columnkvipkh = new DataColumn("kvipkh", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkvipkh);
this.columnkfjjg = new DataColumn("kfjjg", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkfjjg);
this.columnksjsf = new DataColumn("ksjsf", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnksjsf);
this.columnkczy = new DataColumn("kczy", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnkczy);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -