📄 dswage.designer.cs
字号:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsIdlenessNull() {
return this.IsNull(this.tabletb_Wage.IdlenessColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetIdlenessNull() {
this[this.tabletb_Wage.IdlenessColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsChastisementNull() {
return this.IsNull(this.tabletb_Wage.ChastisementColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetChastisementNull() {
this[this.tabletb_Wage.ChastisementColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFosterOldNull() {
return this.IsNull(this.tabletb_Wage.FosterOldColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFosterOldNull() {
this[this.tabletb_Wage.FosterOldColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsMedicalTreatmentNull() {
return this.IsNull(this.tabletb_Wage.MedicalTreatmentColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetMedicalTreatmentNull() {
this[this.tabletb_Wage.MedicalTreatmentColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDealNull() {
return this.IsNull(this.tabletb_Wage.DealColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDealNull() {
this[this.tabletb_Wage.DealColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDeductNull() {
return this.IsNull(this.tabletb_Wage.DeductColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDeductNull() {
this[this.tabletb_Wage.DeductColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFactWageNull() {
return this.IsNull(this.tabletb_Wage.FactWageColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFactWageNull() {
this[this.tabletb_Wage.FactWageColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class tb_WageRowChangeEvent : System.EventArgs {
private tb_WageRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tb_WageRowChangeEvent(tb_WageRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tb_WageRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace HRP_Report.dsWageTableAdapters {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.DataObjectAttribute(true)]
[System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class tb_WageTableAdapter : System.ComponentModel.Component {
private System.Data.SqlClient.SqlDataAdapter _adapter;
private System.Data.SqlClient.SqlConnection _connection;
private System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tb_WageTableAdapter() {
this.ClearBeforeFill = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitAdapter() {
this._adapter = new System.Data.SqlClient.SqlDataAdapter();
System.Data.Common.DataTableMapping tableMapping = new System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "tb_Wage";
tableMapping.ColumnMappings.Add("MonthWage", "MonthWage");
tableMapping.ColumnMappings.Add("EmployeeName", "EmployeeName");
tableMapping.ColumnMappings.Add("EmployeeID", "EmployeeID");
tableMapping.ColumnMappings.Add("BasisWage", "BasisWage");
tableMapping.ColumnMappings.Add("Overtime", "Overtime");
tableMapping.ColumnMappings.Add("WageAge", "WageAge");
tableMapping.ColumnMappings.Add("AllAppeared", "AllAppeared");
tableMapping.ColumnMappings.Add("Hortation", "Hortation");
tableMapping.ColumnMappings.Add("Duty", "Duty");
tableMapping.ColumnMappings.Add("Absent", "Absent");
tableMapping.ColumnMappings.Add("Idleness", "Idleness");
tableMapping.ColumnMappings.Add("Chastisement", "Chastisement");
tableMapping.ColumnMappings.Add("FosterOld", "FosterOld");
tableMapping.ColumnMappings.Add("MedicalTreatment", "MedicalTreatment");
tableMapping.ColumnMappings.Add("Deal", "Deal");
tableMapping.ColumnMappings.Add("Deduct", "Deduct");
tableMapping.ColumnMappings.Add("FactWage", "FactWage");
tableMapping.ColumnMappings.Add("ID", "ID");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM [tb_Wage] WHERE (((@IsNull_MonthWage = 1 AND [MonthWage] IS NULL) OR " +
"([MonthWage] = @Original_MonthWage)) AND ((@IsNull_EmployeeName = 1 AND [Employe" +
"eName] IS NULL) OR ([EmployeeName] = @Original_EmployeeName)) AND ((@IsNull_Empl" +
"oyeeID = 1 AND [EmployeeID] IS NULL) OR ([EmployeeID] = @Original_EmployeeID)) A" +
"ND ((@IsNull_BasisWage = 1 AND [BasisWage] IS NULL) OR ([BasisWage] = @Original_" +
"BasisWage)) AND ((@IsNull_Overtime = 1 AND [Overtime] IS NULL) OR ([Overtime] = " +
"@Original_Overtime)) AND ((@IsNull_WageAge = 1 AND [WageAge] IS NULL) OR ([WageA" +
"ge] = @Original_WageAge)) AND ((@IsNull_AllAppeared = 1 AND [AllAppeared] IS NUL" +
"L) OR ([AllAppeared] = @Original_AllAppeared)) AND ((@IsNull_Hortation = 1 AND [" +
"Hortation] IS NULL) OR ([Hortation] = @Original_Hortation)) AND ((@IsNull_Duty =" +
" 1 AND [Duty] IS NULL) OR ([Duty] = @Original_Duty)) AND ((@IsNull_Absent = 1 AN" +
"D [Absent] IS NULL) OR ([Absent] = @Original_Absent)) AND ((@IsNull_Idleness = 1" +
" AND [Idleness] IS NULL) OR ([Idleness] = @Original_Idleness)) AND ((@IsNull_Cha" +
"stisement = 1 AND [Chastisement] IS NULL) OR ([Chastisement] = @Original_Chastis" +
"ement)) AND ((@IsNull_FosterOld = 1 AND [FosterOld] IS NULL) OR ([FosterOld] = @" +
"Original_FosterOld)) AND ((@IsNull_MedicalTreatment = 1 AND [MedicalTreatment] I" +
"S NULL) OR ([MedicalTreatment] = @Original_MedicalTreatment)) AND ((@IsNull_Deal" +
" = 1 AND [Deal] IS NULL) OR ([Deal] = @Original_Deal)) AND ((@IsNull_Deduct = 1 " +
"AND [Deduct] IS NULL) OR ([Deduct] = @Original_Deduct)) AND ((@IsNull_FactWage =" +
" 1 AND [FactWage] IS NULL) OR ([FactWage] = @Original_FactWage)) AND ([ID] = @Or" +
"iginal_ID))";
this._adapter.DeleteCommand.CommandType = System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_MonthWage", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "MonthWage", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_MonthWage", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "MonthWage", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_EmployeeName", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "EmployeeName", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_EmployeeName", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "EmployeeName", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_EmployeeID", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "EmployeeID", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "EmployeeID", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_BasisWage", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "BasisWage", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_BasisWage", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "BasisWage", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Overtime", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Overtime", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Overtime", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Overtime", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_WageAge", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "WageAge", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_WageAge", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "WageAge", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_AllAppeared", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "AllAppeared", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_AllAppeared", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "AllAppeared", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Hortation", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Hortation", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Hortation", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Hortation", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Duty", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Duty", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Duty", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Duty", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Absent", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Absent", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Absent", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Absent", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Idleness", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Idleness", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Idleness", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Idleness", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_Chastisement", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "Chastisement", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Chastisement", System.Data.SqlDbType.Money, 0, System.Data.ParameterDirection.Input, 0, 0, "Chastisement", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParame
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -