📄 dataset1.cs
字号:
}
internal void InitVars() {
this.column籍贯编号 = this.Columns["籍贯编号"];
this.column籍贯 = this.Columns["籍贯"];
}
private void InitClass() {
this.column籍贯编号 = new DataColumn("籍贯编号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column籍贯编号);
this.column籍贯 = new DataColumn("籍贯", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column籍贯);
this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
this.column籍贯编号}, true));
this.column籍贯编号.AllowDBNull = false;
this.column籍贯编号.Unique = true;
}
public 籍贯代码表Row New籍贯代码表Row() {
return ((籍贯代码表Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new 籍贯代码表Row(builder);
}
protected override System.Type GetRowType() {
return typeof(籍贯代码表Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.籍贯代码表RowChanged != null)) {
this.籍贯代码表RowChanged(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.籍贯代码表RowChanging != null)) {
this.籍贯代码表RowChanging(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.籍贯代码表RowDeleted != null)) {
this.籍贯代码表RowDeleted(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.籍贯代码表RowDeleting != null)) {
this.籍贯代码表RowDeleting(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
}
}
public void Remove籍贯代码表Row(籍贯代码表Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 籍贯代码表Row : DataRow {
private 籍贯代码表DataTable table籍贯代码表;
internal 籍贯代码表Row(DataRowBuilder rb) :
base(rb) {
this.table籍贯代码表 = ((籍贯代码表DataTable)(this.Table));
}
public string 籍贯编号 {
get {
return ((string)(this[this.table籍贯代码表.籍贯编号Column]));
}
set {
this[this.table籍贯代码表.籍贯编号Column] = value;
}
}
public string 籍贯 {
get {
try {
return ((string)(this[this.table籍贯代码表.籍贯Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table籍贯代码表.籍贯Column] = value;
}
}
public bool Is籍贯Null() {
return this.IsNull(this.table籍贯代码表.籍贯Column);
}
public void Set籍贯Null() {
this[this.table籍贯代码表.籍贯Column] = System.Convert.DBNull;
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 籍贯代码表RowChangeEvent : EventArgs {
private 籍贯代码表Row eventRow;
private DataRowAction eventAction;
public 籍贯代码表RowChangeEvent(籍贯代码表Row row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public 籍贯代码表Row Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 民族代码表DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column民族编号;
private DataColumn column民族;
internal 民族代码表DataTable() :
base("民族代码表") {
this.InitClass();
}
internal 民族代码表DataTable(DataTable table) :
base(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;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn 民族编号Column {
get {
return this.column民族编号;
}
}
internal DataColumn 民族Column {
get {
return this.column民族;
}
}
public 民族代码表Row this[int index] {
get {
return ((民族代码表Row)(this.Rows[index]));
}
}
public event 民族代码表RowChangeEventHandler 民族代码表RowChanged;
public event 民族代码表RowChangeEventHandler 民族代码表RowChanging;
public event 民族代码表RowChangeEventHandler 民族代码表RowDeleted;
public event 民族代码表RowChangeEventHandler 民族代码表RowDeleting;
public void Add民族代码表Row(民族代码表Row row) {
this.Rows.Add(row);
}
public 民族代码表Row Add民族代码表Row(string 民族编号, string 民族) {
民族代码表Row row民族代码表Row = ((民族代码表Row)(this.NewRow()));
row民族代码表Row.ItemArray = new object[] {
民族编号,
民族};
this.Rows.Add(row民族代码表Row);
return row民族代码表Row;
}
public 民族代码表Row FindBy民族编号(string 民族编号) {
return ((民族代码表Row)(this.Rows.Find(new object[] {
民族编号})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
民族代码表DataTable cln = ((民族代码表DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new 民族代码表DataTable();
}
internal void InitVars() {
this.column民族编号 = this.Columns["民族编号"];
this.column民族 = this.Columns["民族"];
}
private void InitClass() {
this.column民族编号 = new DataColumn("民族编号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column民族编号);
this.column民族 = new DataColumn("民族", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column民族);
this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
this.column民族编号}, true));
this.column民族编号.AllowDBNull = false;
this.column民族编号.Unique = true;
}
public 民族代码表Row New民族代码表Row() {
return ((民族代码表Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new 民族代码表Row(builder);
}
protected override System.Type GetRowType() {
return typeof(民族代码表Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.民族代码表RowChanged != null)) {
this.民族代码表RowChanged(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.民族代码表RowChanging != null)) {
this.民族代码表RowChanging(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.民族代码表RowDeleted != null)) {
this.民族代码表RowDeleted(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.民族代码表RowDeleting != null)) {
this.民族代码表RowDeleting(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
}
}
public void Remove民族代码表Row(民族代码表Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 民族代码表Row : DataRow {
private 民族代码表DataTable table民族代码表;
internal 民族代码表Row(DataRowBuilder rb) :
base(rb) {
this.table民族代码表 = ((民族代码表DataTable)(this.Table));
}
public string 民族编号 {
get {
return ((string)(this[this.table民族代码表.民族编号Column]));
}
set {
this[this.table民族代码表.民族编号Column] = value;
}
}
public string 民族 {
get {
try {
return ((string)(this[this.table民族代码表.民族Column]));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -