📄 hr1dataset.designer.cs
字号:
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.员工参加培训记录RowDeleting != null)) {
this.员工参加培训记录RowDeleting(this, new 员工参加培训记录RowChangeEvent(((员工参加培训记录Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove员工参加培训记录Row(员工参加培训记录Row 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();
hr1DataSet ds = new hr1DataSet();
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 = "员工参加培训记录DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class 员工名册DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn column工资编号;
private System.Data.DataColumn column姓名;
private System.Data.DataColumn column部门;
private System.Data.DataColumn column职务;
private System.Data.DataColumn column职称;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工名册DataTable() {
this.TableName = "员工名册";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 员工名册DataTable(System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected 员工名册DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 工资编号Column {
get {
return this.column工资编号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 姓名Column {
get {
return this.column姓名;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 部门Column {
get {
return this.column部门;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 职务Column {
get {
return this.column职务;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 职称Column {
get {
return this.column职称;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工名册Row this[int index] {
get {
return ((员工名册Row)(this.Rows[index]));
}
}
public event 员工名册RowChangeEventHandler 员工名册RowChanging;
public event 员工名册RowChangeEventHandler 员工名册RowChanged;
public event 员工名册RowChangeEventHandler 员工名册RowDeleting;
public event 员工名册RowChangeEventHandler 员工名册RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Add员工名册Row(员工名册Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工名册Row Add员工名册Row(string 工资编号, string 姓名, string 部门, string 职务, string 职称) {
员工名册Row row员工名册Row = ((员工名册Row)(this.NewRow()));
row员工名册Row.ItemArray = new object[] {
工资编号,
姓名,
部门,
职务,
职称};
this.Rows.Add(row员工名册Row);
return row员工名册Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工名册Row FindBy工资编号(string 工资编号) {
return ((员工名册Row)(this.Rows.Find(new object[] {
工资编号})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
员工名册DataTable cln = ((员工名册DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new 员工名册DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column工资编号 = base.Columns["工资编号"];
this.column姓名 = base.Columns["姓名"];
this.column部门 = base.Columns["部门"];
this.column职务 = base.Columns["职务"];
this.column职称 = base.Columns["职称"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column工资编号 = new System.Data.DataColumn("工资编号", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column工资编号);
this.column姓名 = new System.Data.DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column姓名);
this.column部门 = new System.Data.DataColumn("部门", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column部门);
this.column职务 = new System.Data.DataColumn("职务", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column职务);
this.column职称 = new System.Data.DataColumn("职称", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column职称);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column工资编号}, true));
this.column工资编号.AllowDBNull = false;
this.column工资编号.Unique = true;
this.column工资编号.MaxLength = 8;
this.column姓名.MaxLength = 8;
this.column部门.MaxLength = 16;
this.column职务.MaxLength = 10;
this.column职称.MaxLength = 10;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 员工名册Row New员工名册Row() {
return ((员工名册Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new 员工名册Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(员工名册Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.员工名册RowChanged != null)) {
this.员工名册RowChanged(this, new 员工名册RowChangeEvent(((员工名册Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.员工名册RowChanging != null)) {
this.员工名册RowChanging(this, new 员工名册RowChangeEvent(((员工名册Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.员工名册RowDeleted != null)) {
this.员工名册RowDeleted(this, new 员工名册RowChangeEvent(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -