📄 bluehillmanagementdataset9.designer.cs
字号:
}
[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.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.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_.BlueHillManagementDataSet9TableAdapters {
[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("员工基本薪资", "员工基本薪资");
tableMapping.ColumnMappings.Add("员工职位名称", "员工职位名称");
tableMapping.ColumnMappings.Add("员工电话", "员工电话");
tableMapping.ColumnMappings.Add("员工报到日期", "员工报到日期");
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(BlueHillManagementDataSet9.员工表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 BlueHillManagementDataSet9.员工表DataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
BlueHillManagementDataSet9.员工表DataTable dataTable = new BlueHillManagementDataSet9.员工表DataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -