📄 employeedataset.designer.cs
字号:
internal employeeDataTable(System.Data.DataTable table) {
this.TableName = 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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected employeeDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 编号Column {
get {
return this.column编号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 姓名Column {
get {
return this.column姓名;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 部门Column {
get {
return this.column部门;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 基本工资Column {
get {
return this.column基本工资;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 职务工资Column {
get {
return this.column职务工资;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 补贴Column {
get {
return this.column补贴;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 奖金Column {
get {
return this.column奖金;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 应发工资Column {
get {
return this.column应发工资;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 扣税Column {
get {
return this.column扣税;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 实发工资Column {
get {
return this.column实发工资;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public employeeRow this[int index] {
get {
return ((employeeRow)(this.Rows[index]));
}
}
public event employeeRowChangeEventHandler employeeRowChanging;
public event employeeRowChangeEventHandler employeeRowChanged;
public event employeeRowChangeEventHandler employeeRowDeleting;
public event employeeRowChangeEventHandler employeeRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddemployeeRow(employeeRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public employeeRow AddemployeeRow(string 编号, string 姓名, string 部门, float 基本工资, float 职务工资, float 补贴, float 奖金, double 应发工资, float 扣税, double 实发工资) {
employeeRow rowemployeeRow = ((employeeRow)(this.NewRow()));
rowemployeeRow.ItemArray = new object[] {
编号,
姓名,
部门,
基本工资,
职务工资,
补贴,
奖金,
应发工资,
扣税,
实发工资};
this.Rows.Add(rowemployeeRow);
return rowemployeeRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public employeeRow FindBy编号(string 编号) {
return ((employeeRow)(this.Rows.Find(new object[] {
编号})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
employeeDataTable cln = ((employeeDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new employeeDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column编号 = base.Columns["编号"];
this.column姓名 = base.Columns["姓名"];
this.column部门 = base.Columns["部门"];
this.column基本工资 = base.Columns["基本工资"];
this.column职务工资 = base.Columns["职务工资"];
this.column补贴 = base.Columns["补贴"];
this.column奖金 = base.Columns["奖金"];
this.column应发工资 = base.Columns["应发工资"];
this.column扣税 = base.Columns["扣税"];
this.column实发工资 = base.Columns["实发工资"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column编号 = new System.Data.DataColumn("编号", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column编号);
this.column姓名 = new System.Data.DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column姓名);
this.column部门 = new System.Data.DataColumn("部门", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column部门);
this.column基本工资 = new System.Data.DataColumn("基本工资", typeof(float), null, System.Data.MappingType.Element);
base.Columns.Add(this.column基本工资);
this.column职务工资 = new System.Data.DataColumn("职务工资", typeof(float), null, System.Data.MappingType.Element);
base.Columns.Add(this.column职务工资);
this.column补贴 = new System.Data.DataColumn("补贴", typeof(float), null, System.Data.MappingType.Element);
base.Columns.Add(this.column补贴);
this.column奖金 = new System.Data.DataColumn("奖金", typeof(float), null, System.Data.MappingType.Element);
base.Columns.Add(this.column奖金);
this.column应发工资 = new System.Data.DataColumn("应发工资", typeof(double), null, System.Data.MappingType.Element);
base.Columns.Add(this.column应发工资);
this.column扣税 = new System.Data.DataColumn("扣税", typeof(float), null, System.Data.MappingType.Element);
base.Columns.Add(this.column扣税);
this.column实发工资 = new System.Data.DataColumn("实发工资", typeof(double), null, System.Data.MappingType.Element);
base.Columns.Add(this.column实发工资);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column编号}, true));
this.column编号.AllowDBNull = false;
this.column编号.Unique = true;
this.column编号.MaxLength = 6;
this.column姓名.MaxLength = 10;
this.column部门.MaxLength = 50;
this.column应发工资.ReadOnly = true;
this.column实发工资.ReadOnly = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public employeeRow NewemployeeRow() {
return ((employeeRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new employeeRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(employeeRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.employeeRowChanged != null)) {
this.employeeRowChanged(this, new employeeRowChangeEvent(((employeeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.employeeRowChanging != null)) {
this.employeeRowChanging(this, new employeeRowChangeEvent(((employeeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.employeeRowDeleted != null)) {
this.employeeRowDeleted(this, new employeeRowChangeEvent(((employeeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.employeeRowDeleting != null)) {
this.employeeRowDeleting(this, new employeeRowChangeEvent(((employeeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveemployeeRow(employeeRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
employeeDataSet ds = new employeeDataSet();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "employeeDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -