📄 dataset1.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.2914.16
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace accep_so {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class DataSet1 : System.Data.DataSet {
private 表1DataTable table表1;
public DataSet1() {
this.InitClass();
}
private DataSet1(SerializationInfo info, StreamingContext context) {
this.InitClass();
this.GetSerializationData(info, context);
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 表1DataTable 表1 {
get {
return this.table表1;
}
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.ReadXml(reader, XmlReadMode.IgnoreSchema);
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
private void InitClass() {
this.DataSetName = "DataSet1";
this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
this.table表1 = new 表1DataTable();
this.Tables.Add(this.table表1);
}
private bool ShouldSerialize表1() {
return false;
}
public delegate void 表1RowChangeEventHandler(object sender, 表1RowChangeEvent e);
public class 表1DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column律师姓名;
private DataColumn column工作性质;
private DataColumn column业务范围;
private DataColumn column收费标准;
private DataColumn column资历简介;
internal 表1DataTable() :
base("表1") {
this.InitClass();
}
[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工作性质;
}
}
internal DataColumn 业务范围Column {
get {
return this.column业务范围;
}
}
internal DataColumn 收费标准Column {
get {
return this.column收费标准;
}
}
internal DataColumn 资历简介Column {
get {
return this.column资历简介;
}
}
public 表1Row this[int index] {
get {
return ((表1Row)(this.Rows[index]));
}
}
public event 表1RowChangeEventHandler 表1RowChanged;
public event 表1RowChangeEventHandler 表1RowChanging;
public event 表1RowChangeEventHandler 表1RowDeleted;
public event 表1RowChangeEventHandler 表1RowDeleting;
public void Add表1Row(表1Row row) {
this.Rows.Add(row);
}
public 表1Row Add表1Row(string 律师姓名, string 工作性质, string 业务范围, string 收费标准, string 资历简介) {
表1Row row表1Row = ((表1Row)(this.NewRow()));
row表1Row.ItemArray = new object[] {
律师姓名,
工作性质,
业务范围,
收费标准,
资历简介};
this.Rows.Add(row表1Row);
return row表1Row;
}
public 表1Row FindBy律师姓名(string 律师姓名) {
return ((表1Row)(this.Rows.Find(new object[] {
律师姓名})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
private void InitClass() {
this.column律师姓名 = new DataColumn("律师姓名", typeof(string), "", System.Data.MappingType.Element);
this.column律师姓名.AllowDBNull = false;
this.column律师姓名.Unique = true;
this.Columns.Add(this.column律师姓名);
this.column工作性质 = new DataColumn("工作性质", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.column工作性质);
this.column业务范围 = new DataColumn("业务范围", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.column业务范围);
this.column收费标准 = new DataColumn("收费标准", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.column收费标准);
this.column资历简介 = new DataColumn("资历简介", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.column资历简介);
this.PrimaryKey = new DataColumn[] {
this.column律师姓名};
}
public 表1Row New表1Row() {
return ((表1Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
// We need to ensure that all Rows in the tabled are typed rows.
// Table calls newRow whenever it needs to create a row.
// So the following conditions are covered by Row newRow(Record record)
// * Cursor calls table.addRecord(record)
// * table.addRow(object[] values) calls newRow(record)
return new 表1Row(builder);
}
protected override System.Type GetRowType() {
return typeof(表1Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.表1RowChanged != null)) {
this.表1RowChanged(this, new 表1RowChangeEvent(((表1Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.表1RowChanging != null)) {
this.表1RowChanging(this, new 表1RowChangeEvent(((表1Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.表1RowDeleted != null)) {
this.表1RowDeleted(this, new 表1RowChangeEvent(((表1Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.表1RowDeleting != null)) {
this.表1RowDeleting(this, new 表1RowChangeEvent(((表1Row)(e.Row)), e.Action));
}
}
public void Remove表1Row(表1Row row) {
this.Rows.Remove(row);
}
}
public class 表1Row : DataRow {
private 表1DataTable table表1;
internal 表1Row(DataRowBuilder rb) :
base(rb) {
this.table表1 = ((表1DataTable)(this.Table));
}
public string 律师姓名 {
get {
return ((string)(this[this.table表1.律师姓名Column]));
}
set {
this[this.table表1.律师姓名Column] = value;
}
}
public string 工作性质 {
get {
try {
return ((string)(this[this.table表1.工作性质Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table表1.工作性质Column] = value;
}
}
public string 业务范围 {
get {
try {
return ((string)(this[this.table表1.业务范围Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table表1.业务范围Column] = value;
}
}
public string 收费标准 {
get {
try {
return ((string)(this[this.table表1.收费标准Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table表1.收费标准Column] = value;
}
}
public string 资历简介 {
get {
try {
return ((string)(this[this.table表1.资历简介Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table表1.资历简介Column] = value;
}
}
public bool Is工作性质Null() {
return this.IsNull(this.table表1.工作性质Column);
}
public void Set工作性质Null() {
this[this.table表1.工作性质Column] = System.Convert.DBNull;
}
public bool Is业务范围Null() {
return this.IsNull(this.table表1.业务范围Column);
}
public void Set业务范围Null() {
this[this.table表1.业务范围Column] = System.Convert.DBNull;
}
public bool Is收费标准Null() {
return this.IsNull(this.table表1.收费标准Column);
}
public void Set收费标准Null() {
this[this.table表1.收费标准Column] = System.Convert.DBNull;
}
public bool Is资历简介Null() {
return this.IsNull(this.table表1.资历简介Column);
}
public void Set资历简介Null() {
this[this.table表1.资历简介Column] = System.Convert.DBNull;
}
}
public class 表1RowChangeEvent : EventArgs {
private 表1Row eventRow;
private System.Data.DataRowAction eventAction;
public 表1RowChangeEvent(表1Row row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public 表1Row Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -