📄 bluehillmanagementdataset8.designer.cs
字号:
set {
this[this.table员工薪资表.薪资发放时间Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 加班薪资 {
get {
try {
return ((int)(this[this.table员工薪资表.加班薪资Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“员工薪资表”中列“加班薪资”的值为 DBNull。", e);
}
}
set {
this[this.table员工薪资表.加班薪资Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 缺勤扣除 {
get {
try {
return ((int)(this[this.table员工薪资表.缺勤扣除Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“员工薪资表”中列“缺勤扣除”的值为 DBNull。", e);
}
}
set {
this[this.table员工薪资表.缺勤扣除Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 其他薪资 {
get {
try {
return ((int)(this[this.table员工薪资表.其他薪资Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“员工薪资表”中列“其他薪资”的值为 DBNull。", e);
}
}
set {
this[this.table员工薪资表.其他薪资Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is加班薪资Null() {
return this.IsNull(this.table员工薪资表.加班薪资Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set加班薪资Null() {
this[this.table员工薪资表.加班薪资Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is缺勤扣除Null() {
return this.IsNull(this.table员工薪资表.缺勤扣除Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set缺勤扣除Null() {
this[this.table员工薪资表.缺勤扣除Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is其他薪资Null() {
return this.IsNull(this.table员工薪资表.其他薪资Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set其他薪资Null() {
this[this.table员工薪资表.其他薪资Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class 员工薪资表RowChangeEvent : System.EventArgs {
private 员工薪资表Row eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工薪资表RowChangeEvent(员工薪资表Row row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工薪资表Row Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace BlueHill_Win_.BlueHillManagementDataSet8TableAdapters {
[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 员工薪资表TableAdapter : 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 员工薪资表TableAdapter() {
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 = "员工薪资表";
tableMapping.ColumnMappings.Add("员工编号", "员工编号");
tableMapping.ColumnMappings.Add("薪资发放时间", "薪资发放时间");
tableMapping.ColumnMappings.Add("加班薪资", "加班薪资");
tableMapping.ColumnMappings.Add("缺勤扣除", "缺勤扣除");
tableMapping.ColumnMappings.Add("其他薪资", "其他薪资");
this._adapter.TableMappings.Add(tableMapping);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitConnection() {
this._connection = new System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::BlueHill_Win_.Properties.Settings.Default.BlueHillManagementConnectionString;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT 员工编号, 薪资发放时间, 加班薪资, 缺勤扣除, 其他薪资 FROM dbo.员工薪资表";
this._commandCollection[0].CommandType = System.Data.CommandType.Text;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(BlueHillManagementDataSet8.员工薪资表DataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual BlueHillManagementDataSet8.员工薪资表DataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
BlueHillManagementDataSet8.员工薪资表DataTable dataTable = new BlueHillManagementDataSet8.员工薪资表DataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -