📄 bluehillmanagementdataset3.designer.cs
字号:
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class _查看员工考勤信息_Win_Row : global::System.Data.DataRow {
private _查看员工考勤信息_Win_DataTable _table查看员工考勤信息_Win_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal _查看员工考勤信息_Win_Row(global::System.Data.DataRowBuilder rb) :
base(rb) {
this._table查看员工考勤信息_Win_ = ((_查看员工考勤信息_Win_DataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 考勤编号 {
get {
return ((int)(this[this._table查看员工考勤信息_Win_.考勤编号Column]));
}
set {
this[this._table查看员工考勤信息_Win_.考勤编号Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 员工姓名 {
get {
return ((string)(this[this._table查看员工考勤信息_Win_.员工姓名Column]));
}
set {
this[this._table查看员工考勤信息_Win_.员工姓名Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 到达时间 {
get {
try {
return ((global::System.DateTime)(this[this._table查看员工考勤信息_Win_.到达时间Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“查看员工考勤信息(Win)”中列“到达时间”的值为 DBNull。", e);
}
}
set {
this[this._table查看员工考勤信息_Win_.到达时间Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 考勤类型 {
get {
try {
return ((string)(this[this._table查看员工考勤信息_Win_.考勤类型Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“查看员工考勤信息(Win)”中列“考勤类型”的值为 DBNull。", e);
}
}
set {
this[this._table查看员工考勤信息_Win_.考勤类型Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is到达时间Null() {
return this.IsNull(this._table查看员工考勤信息_Win_.到达时间Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set到达时间Null() {
this[this._table查看员工考勤信息_Win_.到达时间Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is考勤类型Null() {
return this.IsNull(this._table查看员工考勤信息_Win_.考勤类型Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set考勤类型Null() {
this[this._table查看员工考勤信息_Win_.考勤类型Column] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class _查看员工考勤信息_Win_RowChangeEvent : global::System.EventArgs {
private _查看员工考勤信息_Win_Row eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public _查看员工考勤信息_Win_RowChangeEvent(_查看员工考勤信息_Win_Row row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public _查看员工考勤信息_Win_Row Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace BlueHill_Win_.BlueHillManagementDataSet3TableAdapters {
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class 查看员工考勤信息_Win_TableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 查看员工考勤信息_Win_TableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal global::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)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "查看员工考勤信息(Win)";
tableMapping.ColumnMappings.Add("考勤编号", "考勤编号");
tableMapping.ColumnMappings.Add("员工姓名", "员工姓名");
tableMapping.ColumnMappings.Add("到达时间", "到达时间");
tableMapping.ColumnMappings.Add("考勤类型", "考勤类型");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::BlueHill_Win_.Properties.Settings.Default.BlueHillManagementConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT 考勤编号, 员工姓名, 到达时间, 考勤类型 FROM dbo.[查看员工考勤信息(Win)]";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(BlueHillManagementDataSet3._查看员工考勤信息_Win_DataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual BlueHillManagementDataSet3._查看员工考勤信息_Win_DataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
BlueHillManagementDataSet3._查看员工考勤信息_Win_DataTable dataTable = new BlueHillManagementDataSet3._查看员工考勤信息_Win_DataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -