📄 hr1dataset.designer.cs
字号:
if ((ds.Tables["员工"] != null)) {
base.Tables.Add(new 员工DataTable(ds.Tables["员工"]));
}
if ((ds.Tables["按员工"] != null)) {
base.Tables.Add(new 按员工DataTable(ds.Tables["按员工"]));
}
if ((ds.Tables["部门"] != null)) {
base.Tables.Add(new 部门DataTable(ds.Tables["部门"]));
}
if ((ds.Tables["部门总学时"] != null)) {
base.Tables.Add(new 部门总学时DataTable(ds.Tables["部门总学时"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.table培训项表 = ((培训项表DataTable)(base.Tables["培训项表"]));
if ((initTable == true)) {
if ((this.table培训项表 != null)) {
this.table培训项表.InitVars();
}
}
this.table员工参加培训记录 = ((员工参加培训记录DataTable)(base.Tables["员工参加培训记录"]));
if ((initTable == true)) {
if ((this.table员工参加培训记录 != null)) {
this.table员工参加培训记录.InitVars();
}
}
this.table员工名册 = ((员工名册DataTable)(base.Tables["员工名册"]));
if ((initTable == true)) {
if ((this.table员工名册 != null)) {
this.table员工名册.InitVars();
}
}
this.table培训 = ((培训DataTable)(base.Tables["培训"]));
if ((initTable == true)) {
if ((this.table培训 != null)) {
this.table培训.InitVars();
}
}
this.table员工 = ((员工DataTable)(base.Tables["员工"]));
if ((initTable == true)) {
if ((this.table员工 != null)) {
this.table员工.InitVars();
}
}
this.table按员工 = ((按员工DataTable)(base.Tables["按员工"]));
if ((initTable == true)) {
if ((this.table按员工 != null)) {
this.table按员工.InitVars();
}
}
this.table部门 = ((部门DataTable)(base.Tables["部门"]));
if ((initTable == true)) {
if ((this.table部门 != null)) {
this.table部门.InitVars();
}
}
this.table部门总学时 = ((部门总学时DataTable)(base.Tables["部门总学时"]));
if ((initTable == true)) {
if ((this.table部门总学时 != null)) {
this.table部门总学时.InitVars();
}
}
this.relation培训项表员工参加培训记录 = this.Relations["培训项表员工参加培训记录"];
this.relation员工名册员工参加培训记录 = this.Relations["员工名册员工参加培训记录"];
this.relation培训项表员工参加培训记录1 = this.Relations["培训项表员工参加培训记录1"];
this.relation员工名册员工参加培训记录1 = this.Relations["员工名册员工参加培训记录1"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "hr1DataSet";
this.Prefix = "";
this.Namespace = "http://tempuri.org/hr1DataSet.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.table培训项表 = new 培训项表DataTable();
base.Tables.Add(this.table培训项表);
this.table员工参加培训记录 = new 员工参加培训记录DataTable();
base.Tables.Add(this.table员工参加培训记录);
this.table员工名册 = new 员工名册DataTable();
base.Tables.Add(this.table员工名册);
this.table培训 = new 培训DataTable();
base.Tables.Add(this.table培训);
this.table员工 = new 员工DataTable();
base.Tables.Add(this.table员工);
this.table按员工 = new 按员工DataTable();
base.Tables.Add(this.table按员工);
this.table部门 = new 部门DataTable();
base.Tables.Add(this.table部门);
this.table部门总学时 = new 部门总学时DataTable();
base.Tables.Add(this.table部门总学时);
this.relation培训项表员工参加培训记录 = new System.Data.DataRelation("培训项表员工参加培训记录", new System.Data.DataColumn[] {
this.table培训项表.培训编号Column}, new System.Data.DataColumn[] {
this.table员工参加培训记录.培训编号Column}, false);
this.Relations.Add(this.relation培训项表员工参加培训记录);
this.relation员工名册员工参加培训记录 = new System.Data.DataRelation("员工名册员工参加培训记录", new System.Data.DataColumn[] {
this.table员工名册.工资编号Column}, new System.Data.DataColumn[] {
this.table员工参加培训记录.工资编号Column}, false);
this.Relations.Add(this.relation员工名册员工参加培训记录);
this.relation培训项表员工参加培训记录1 = new System.Data.DataRelation("培训项表员工参加培训记录1", new System.Data.DataColumn[] {
this.table培训项表.培训编号Column}, new System.Data.DataColumn[] {
this.table按员工.培训编号Column}, false);
this.Relations.Add(this.relation培训项表员工参加培训记录1);
this.relation员工名册员工参加培训记录1 = new System.Data.DataRelation("员工名册员工参加培训记录1", new System.Data.DataColumn[] {
this.table员工名册.工资编号Column}, new System.Data.DataColumn[] {
this.table按员工.工资编号Column}, false);
this.Relations.Add(this.relation员工名册员工参加培训记录1);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize培训项表() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize员工参加培训记录() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize员工名册() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize培训() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize员工() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize按员工() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize部门() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize部门总学时() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
hr1DataSet ds = new hr1DataSet();
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void 培训项表RowChangeEventHandler(object sender, 培训项表RowChangeEvent e);
public delegate void 员工参加培训记录RowChangeEventHandler(object sender, 员工参加培训记录RowChangeEvent e);
public delegate void 员工名册RowChangeEventHandler(object sender, 员工名册RowChangeEvent e);
public delegate void 培训RowChangeEventHandler(object sender, 培训RowChangeEvent e);
public delegate void 员工RowChangeEventHandler(object sender, 员工RowChangeEvent e);
public delegate void 按员工RowChangeEventHandler(object sender, 按员工RowChangeEvent e);
public delegate void 部门RowChangeEventHandler(object sender, 部门RowChangeEvent e);
public delegate void 部门总学时RowChangeEventHandler(object sender, 部门总学时RowChangeEvent e);
[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签到表流水号;
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实际授课学时;
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;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -