📄 dswage.designer.cs
字号:
this.columnAllAppeared = base.Columns["AllAppeared"];
this.columnHortation = base.Columns["Hortation"];
this.columnDuty = base.Columns["Duty"];
this.columnAbsent = base.Columns["Absent"];
this.columnIdleness = base.Columns["Idleness"];
this.columnChastisement = base.Columns["Chastisement"];
this.columnFosterOld = base.Columns["FosterOld"];
this.columnMedicalTreatment = base.Columns["MedicalTreatment"];
this.columnDeal = base.Columns["Deal"];
this.columnDeduct = base.Columns["Deduct"];
this.columnFactWage = base.Columns["FactWage"];
this.columnID = base.Columns["ID"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnMonthWage = new System.Data.DataColumn("MonthWage", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnMonthWage);
this.columnEmployeeName = new System.Data.DataColumn("EmployeeName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnEmployeeName);
this.columnEmployeeID = new System.Data.DataColumn("EmployeeID", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnEmployeeID);
this.columnBasisWage = new System.Data.DataColumn("BasisWage", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnBasisWage);
this.columnOvertime = new System.Data.DataColumn("Overtime", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnOvertime);
this.columnWageAge = new System.Data.DataColumn("WageAge", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnWageAge);
this.columnAllAppeared = new System.Data.DataColumn("AllAppeared", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnAllAppeared);
this.columnHortation = new System.Data.DataColumn("Hortation", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnHortation);
this.columnDuty = new System.Data.DataColumn("Duty", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnDuty);
this.columnAbsent = new System.Data.DataColumn("Absent", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnAbsent);
this.columnIdleness = new System.Data.DataColumn("Idleness", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnIdleness);
this.columnChastisement = new System.Data.DataColumn("Chastisement", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnChastisement);
this.columnFosterOld = new System.Data.DataColumn("FosterOld", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFosterOld);
this.columnMedicalTreatment = new System.Data.DataColumn("MedicalTreatment", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnMedicalTreatment);
this.columnDeal = new System.Data.DataColumn("Deal", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnDeal);
this.columnDeduct = new System.Data.DataColumn("Deduct", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnDeduct);
this.columnFactWage = new System.Data.DataColumn("FactWage", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFactWage);
this.columnID = new System.Data.DataColumn("ID", typeof(long), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnID);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnID}, true));
this.columnMonthWage.MaxLength = 15;
this.columnEmployeeName.MaxLength = 10;
this.columnEmployeeID.MaxLength = 5;
this.columnID.AutoIncrement = true;
this.columnID.AllowDBNull = false;
this.columnID.ReadOnly = true;
this.columnID.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tb_WageRow Newtb_WageRow() {
return ((tb_WageRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new tb_WageRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(tb_WageRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.tb_WageRowChanged != null)) {
this.tb_WageRowChanged(this, new tb_WageRowChangeEvent(((tb_WageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.tb_WageRowChanging != null)) {
this.tb_WageRowChanging(this, new tb_WageRowChangeEvent(((tb_WageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.tb_WageRowDeleted != null)) {
this.tb_WageRowDeleted(this, new tb_WageRowChangeEvent(((tb_WageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.tb_WageRowDeleting != null)) {
this.tb_WageRowDeleting(this, new tb_WageRowChangeEvent(((tb_WageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removetb_WageRow(tb_WageRow 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();
dsWage ds = new dsWage();
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 = "tb_WageDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class tb_WageRow : System.Data.DataRow {
private tb_WageDataTable tabletb_Wage;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal tb_WageRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tabletb_Wage = ((tb_WageDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string MonthWage {
get {
try {
return ((string)(this[this.tabletb_Wage.MonthWageColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“MonthWage”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.MonthWageColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string EmployeeName {
get {
try {
return ((string)(this[this.tabletb_Wage.EmployeeNameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“EmployeeName”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.EmployeeNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string EmployeeID {
get {
try {
return ((string)(this[this.tabletb_Wage.EmployeeIDColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“EmployeeID”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.EmployeeIDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal BasisWage {
get {
try {
return ((decimal)(this[this.tabletb_Wage.BasisWageColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“BasisWage”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.BasisWageColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal Overtime {
get {
try {
return ((decimal)(this[this.tabletb_Wage.OvertimeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“Overtime”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.OvertimeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal WageAge {
get {
try {
return ((decimal)(this[this.tabletb_Wage.WageAgeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“WageAge”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.WageAgeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal AllAppeared {
get {
try {
return ((decimal)(this[this.tabletb_Wage.AllAppearedColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“tb_Wage”中列“AllAppeared”的值为 DBNull。", e);
}
}
set {
this[this.tabletb_Wage.AllAppearedColumn] = value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -