DataSet1.cs
资源名称:VCSDB.rar [点击查看]
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:152k
源码类别:
企业管理
开发平台:
C#
- //------------------------------------------------------------------------------
- // <autogenerated>
- // This code was generated by a tool.
- // Runtime Version: 1.1.4322.573
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </autogenerated>
- //------------------------------------------------------------------------------
- namespace 人力资源管理系统 {
- using System;
- using System.Data;
- using System.Xml;
- using System.Runtime.Serialization;
- [Serializable()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Diagnostics.DebuggerStepThrough()]
- [System.ComponentModel.ToolboxItem(true)]
- public class DataSet1 : DataSet {
- private 工资发放历史表DataTable table工资发放历史表;
- private 组织机构编码表DataTable table组织机构编码表;
- private 职员基本信息表DataTable table职员基本信息表;
- private 职员惩罚表DataTable table职员惩罚表;
- private 个人所得税表DataTable table个人所得税表;
- private 职员奖励表DataTable table职员奖励表;
- public DataSet1() {
- this.InitClass();
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
- protected DataSet1(SerializationInfo info, StreamingContext context) {
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((strSchema != null)) {
- DataSet ds = new DataSet();
- ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
- if ((ds.Tables["工资发放历史表"] != null)) {
- this.Tables.Add(new 工资发放历史表DataTable(ds.Tables["工资发放历史表"]));
- }
- if ((ds.Tables["组织机构编码表"] != null)) {
- this.Tables.Add(new 组织机构编码表DataTable(ds.Tables["组织机构编码表"]));
- }
- if ((ds.Tables["职员基本信息表"] != null)) {
- this.Tables.Add(new 职员基本信息表DataTable(ds.Tables["职员基本信息表"]));
- }
- if ((ds.Tables["职员惩罚表"] != null)) {
- this.Tables.Add(new 职员惩罚表DataTable(ds.Tables["职员惩罚表"]));
- }
- if ((ds.Tables["个人所得税表"] != null)) {
- this.Tables.Add(new 个人所得税表DataTable(ds.Tables["个人所得税表"]));
- }
- if ((ds.Tables["职员奖励表"] != null)) {
- this.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.InitClass();
- }
- this.GetSerializationData(info, context);
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 工资发放历史表DataTable 工资发放历史表 {
- get {
- return this.table工资发放历史表;
- }
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 组织机构编码表DataTable 组织机构编码表 {
- get {
- return this.table组织机构编码表;
- }
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 职员基本信息表DataTable 职员基本信息表 {
- get {
- return this.table职员基本信息表;
- }
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 职员惩罚表DataTable 职员惩罚表 {
- get {
- return this.table职员惩罚表;
- }
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 个人所得税表DataTable 个人所得税表 {
- get {
- return this.table个人所得税表;
- }
- }
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 职员奖励表DataTable 职员奖励表 {
- get {
- return this.table职员奖励表;
- }
- }
- public override DataSet Clone() {
- DataSet1 cln = ((DataSet1)(base.Clone()));
- cln.InitVars();
- return cln;
- }
- protected override bool ShouldSerializeTables() {
- return false;
- }
- protected override bool ShouldSerializeRelations() {
- return false;
- }
- protected override void ReadXmlSerializable(XmlReader reader) {
- this.Reset();
- DataSet ds = new DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["工资发放历史表"] != null)) {
- this.Tables.Add(new 工资发放历史表DataTable(ds.Tables["工资发放历史表"]));
- }
- if ((ds.Tables["组织机构编码表"] != null)) {
- this.Tables.Add(new 组织机构编码表DataTable(ds.Tables["组织机构编码表"]));
- }
- if ((ds.Tables["职员基本信息表"] != null)) {
- this.Tables.Add(new 职员基本信息表DataTable(ds.Tables["职员基本信息表"]));
- }
- if ((ds.Tables["职员惩罚表"] != null)) {
- this.Tables.Add(new 职员惩罚表DataTable(ds.Tables["职员惩罚表"]));
- }
- if ((ds.Tables["个人所得税表"] != null)) {
- this.Tables.Add(new 个人所得税表DataTable(ds.Tables["个人所得税表"]));
- }
- if ((ds.Tables["职员奖励表"] != null)) {
- this.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();
- }
- 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);
- }
- internal void InitVars() {
- this.table工资发放历史表 = ((工资发放历史表DataTable)(this.Tables["工资发放历史表"]));
- if ((this.table工资发放历史表 != null)) {
- this.table工资发放历史表.InitVars();
- }
- this.table组织机构编码表 = ((组织机构编码表DataTable)(this.Tables["组织机构编码表"]));
- if ((this.table组织机构编码表 != null)) {
- this.table组织机构编码表.InitVars();
- }
- this.table职员基本信息表 = ((职员基本信息表DataTable)(this.Tables["职员基本信息表"]));
- if ((this.table职员基本信息表 != null)) {
- this.table职员基本信息表.InitVars();
- }
- this.table职员惩罚表 = ((职员惩罚表DataTable)(this.Tables["职员惩罚表"]));
- if ((this.table职员惩罚表 != null)) {
- this.table职员惩罚表.InitVars();
- }
- this.table个人所得税表 = ((个人所得税表DataTable)(this.Tables["个人所得税表"]));
- if ((this.table个人所得税表 != null)) {
- this.table个人所得税表.InitVars();
- }
- this.table职员奖励表 = ((职员奖励表DataTable)(this.Tables["职员奖励表"]));
- if ((this.table职员奖励表 != null)) {
- this.table职员奖励表.InitVars();
- }
- }
- private void InitClass() {
- this.DataSetName = "DataSet1";
- this.Prefix = "";
- this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
- this.Locale = new System.Globalization.CultureInfo("zh-CN");
- this.CaseSensitive = false;
- this.EnforceConstraints = true;
- this.table工资发放历史表 = new 工资发放历史表DataTable();
- this.Tables.Add(this.table工资发放历史表);
- this.table组织机构编码表 = new 组织机构编码表DataTable();
- this.Tables.Add(this.table组织机构编码表);
- this.table职员基本信息表 = new 职员基本信息表DataTable();
- this.Tables.Add(this.table职员基本信息表);
- this.table职员惩罚表 = new 职员惩罚表DataTable();
- this.Tables.Add(this.table职员惩罚表);
- this.table个人所得税表 = new 个人所得税表DataTable();
- this.Tables.Add(this.table个人所得税表);
- this.table职员奖励表 = new 职员奖励表DataTable();
- this.Tables.Add(this.table职员奖励表);
- }
- private bool ShouldSerialize工资发放历史表() {
- return false;
- }
- private bool ShouldSerialize组织机构编码表() {
- return false;
- }
- private bool ShouldSerialize职员基本信息表() {
- return false;
- }
- private bool ShouldSerialize职员惩罚表() {
- return false;
- }
- private bool ShouldSerialize个人所得税表() {
- return false;
- }
- private bool ShouldSerialize职员奖励表() {
- return false;
- }
- private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
- 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.Diagnostics.DebuggerStepThrough()]
- public class 工资发放历史表DataTable : DataTable, System.Collections.IEnumerable {
- private DataColumn column日期;
- private DataColumn column职员编号;
- private DataColumn column基本工资;
- private DataColumn column浮动工资;
- private DataColumn column合同补;
- private DataColumn column粮副补;
- private DataColumn column房补;
- private DataColumn column临时补;
- private DataColumn column职务工资;
- private DataColumn column工龄工资;
- private DataColumn column考核工资;
- private DataColumn column奖金;
- private DataColumn column应发金额合计;
- private DataColumn column房租;
- private DataColumn column水电费;
- private DataColumn column请假扣除;
- private DataColumn column考勤扣除;
- private DataColumn column罚款;
- private DataColumn column住房公积金;
- private DataColumn column医疗保险;
- private DataColumn column养老保险;
- private DataColumn column失业保险;
- private DataColumn column生育保险;
- private DataColumn column工伤保险;
- private DataColumn column应扣金额合计;
- private DataColumn column工资合计;
- private DataColumn column个人所得税;
- private DataColumn column实发金额;
- 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职员编号;
- }
- }
- 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房补;
- }
- }
- 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奖金;
- }
- }
- 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考勤扣除;
- }
- }
- 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失业保险;
- }
- }
- 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个人所得税;
- }
- }
- internal DataColumn 实发金额Column {
- get {
- return this.column实发金额;
- }
- }
- 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(
- int 日期,
- string 职员编号,
- System.Double 基本工资,
- System.Decimal 浮动工资,
- System.Decimal 合同补,
- System.Decimal 粮副补,
- System.Decimal 房补,
- System.Decimal 临时补,
- System.Decimal 职务工资,
- System.Decimal 工龄工资,
- System.Decimal 考核工资,
- System.Decimal 奖金,
- System.Decimal 应发金额合计,
- System.Decimal 房租,
- System.Decimal 水电费,
- System.Decimal 请假扣除,
- System.Decimal 考勤扣除,
- System.Decimal 罚款,
- System.Decimal 住房公积金,
- System.Decimal 医疗保险,
- System.Decimal 养老保险,
- System.Decimal 失业保险,
- System.Decimal 生育保险,
- System.Decimal 工伤保险,
- System.Decimal 应扣金额合计,
- System.Decimal 工资合计,
- System.Decimal 个人所得税,
- System.Decimal 实发金额,
- string 发放否,
- int 月份) {
- 工资发放历史表Row row工资发放历史表Row = ((工资发放历史表Row)(this.NewRow()));
- row工资发放历史表Row.ItemArray = new object[] {
- 日期,
- 职员编号,
- 基本工资,
- 浮动工资,
- 合同补,
- 粮副补,
- 房补,
- 临时补,
- 职务工资,
- 工龄工资,
- 考核工资,
- 奖金,
- 应发金额合计,
- 房租,
- 水电费,
- 请假扣除,
- 考勤扣除,
- 罚款,
- 住房公积金,
- 医疗保险,
- 养老保险,
- 失业保险,
- 生育保险,
- 工伤保险,
- 应扣金额合计,
- 工资合计,
- 个人所得税,
- 实发金额,
- 发放否,
- 月份};
- this.Rows.Add(row工资发放历史表Row);
- return row工资发放历史表Row;
- }
- 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["职员编号"];
- this.column基本工资 = this.Columns["基本工资"];
- this.column浮动工资 = this.Columns["浮动工资"];
- this.column合同补 = this.Columns["合同补"];
- this.column粮副补 = this.Columns["粮副补"];
- this.column房补 = this.Columns["房补"];
- this.column临时补 = this.Columns["临时补"];
- this.column职务工资 = this.Columns["职务工资"];
- this.column工龄工资 = this.Columns["工龄工资"];
- this.column考核工资 = this.Columns["考核工资"];
- this.column奖金 = this.Columns["奖金"];
- this.column应发金额合计 = this.Columns["应发金额合计"];
- this.column房租 = this.Columns["房租"];
- this.column水电费 = this.Columns["水电费"];
- this.column请假扣除 = this.Columns["请假扣除"];
- this.column考勤扣除 = this.Columns["考勤扣除"];
- this.column罚款 = this.Columns["罚款"];
- this.column住房公积金 = this.Columns["住房公积金"];
- this.column医疗保险 = this.Columns["医疗保险"];
- this.column养老保险 = this.Columns["养老保险"];
- this.column失业保险 = this.Columns["失业保险"];
- this.column生育保险 = this.Columns["生育保险"];
- this.column工伤保险 = this.Columns["工伤保险"];
- this.column应扣金额合计 = this.Columns["应扣金额合计"];
- this.column工资合计 = this.Columns["工资合计"];
- this.column个人所得税 = this.Columns["个人所得税"];
- this.column实发金额 = this.Columns["实发金额"];
- this.column发放否 = this.Columns["发放否"];
- this.column月份 = this.Columns["月份"];
- }
- private void InitClass() {
- this.column日期 = new DataColumn("日期", typeof(int), 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.column基本工资 = new DataColumn("基本工资", typeof(System.Double), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column基本工资);
- this.column浮动工资 = new DataColumn("浮动工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column浮动工资);
- this.column合同补 = new DataColumn("合同补", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column合同补);
- this.column粮副补 = new DataColumn("粮副补", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column粮副补);
- this.column房补 = new DataColumn("房补", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column房补);
- this.column临时补 = new DataColumn("临时补", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column临时补);
- this.column职务工资 = new DataColumn("职务工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column职务工资);
- this.column工龄工资 = new DataColumn("工龄工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column工龄工资);
- this.column考核工资 = new DataColumn("考核工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column考核工资);
- this.column奖金 = new DataColumn("奖金", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column奖金);
- this.column应发金额合计 = new DataColumn("应发金额合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column应发金额合计);
- this.column房租 = new DataColumn("房租", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column房租);
- this.column水电费 = new DataColumn("水电费", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column水电费);
- this.column请假扣除 = new DataColumn("请假扣除", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column请假扣除);
- this.column考勤扣除 = new DataColumn("考勤扣除", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column考勤扣除);
- this.column罚款 = new DataColumn("罚款", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column罚款);
- this.column住房公积金 = new DataColumn("住房公积金", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column住房公积金);
- this.column医疗保险 = new DataColumn("医疗保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column医疗保险);
- this.column养老保险 = new DataColumn("养老保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column养老保险);
- this.column失业保险 = new DataColumn("失业保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column失业保险);
- this.column生育保险 = new DataColumn("生育保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column生育保险);
- this.column工伤保险 = new DataColumn("工伤保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column工伤保险);
- this.column应扣金额合计 = new DataColumn("应扣金额合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column应扣金额合计);
- this.column工资合计 = new DataColumn("工资合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column工资合计);
- this.column个人所得税 = new DataColumn("个人所得税", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column个人所得税);
- this.column实发金额 = new DataColumn("实发金额", typeof(System.Decimal), 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.column月份 = new DataColumn("月份", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column月份);
- }
- 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 int 日期 {
- get {
- try {
- return ((int)(this[this.table工资发放历史表.日期Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- 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 System.Double 基本工资 {
- get {
- try {
- return ((System.Double)(this[this.table工资发放历史表.基本工资Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.基本工资Column] = value;
- }
- }
- public System.Decimal 浮动工资 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.浮动工资Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.浮动工资Column] = value;
- }
- }
- public System.Decimal 合同补 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.合同补Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.合同补Column] = value;
- }
- }
- public System.Decimal 粮副补 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.粮副补Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.粮副补Column] = value;
- }
- }
- public System.Decimal 房补 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.房补Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.房补Column] = value;
- }
- }
- public System.Decimal 临时补 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.临时补Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.临时补Column] = value;
- }
- }
- public System.Decimal 职务工资 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.职务工资Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.职务工资Column] = value;
- }
- }
- public System.Decimal 工龄工资 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.工龄工资Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.工龄工资Column] = value;
- }
- }
- public System.Decimal 考核工资 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.考核工资Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.考核工资Column] = value;
- }
- }
- public System.Decimal 奖金 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.奖金Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.奖金Column] = value;
- }
- }
- public System.Decimal 应发金额合计 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.应发金额合计Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.应发金额合计Column] = value;
- }
- }
- public System.Decimal 房租 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.房租Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.房租Column] = value;
- }
- }
- public System.Decimal 水电费 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.水电费Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.水电费Column] = value;
- }
- }
- public System.Decimal 请假扣除 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.请假扣除Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.请假扣除Column] = value;
- }
- }
- public System.Decimal 考勤扣除 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.考勤扣除Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.考勤扣除Column] = value;
- }
- }
- public System.Decimal 罚款 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.罚款Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.罚款Column] = value;
- }
- }
- public System.Decimal 住房公积金 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.住房公积金Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.住房公积金Column] = value;
- }
- }
- public System.Decimal 医疗保险 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.医疗保险Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.医疗保险Column] = value;
- }
- }
- public System.Decimal 养老保险 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.养老保险Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.养老保险Column] = value;
- }
- }
- public System.Decimal 失业保险 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.失业保险Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.失业保险Column] = value;
- }
- }
- public System.Decimal 生育保险 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.生育保险Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.生育保险Column] = value;
- }
- }
- public System.Decimal 工伤保险 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.工伤保险Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.工伤保险Column] = value;
- }
- }
- public System.Decimal 应扣金额合计 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.应扣金额合计Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.应扣金额合计Column] = value;
- }
- }
- public System.Decimal 工资合计 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.工资合计Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.工资合计Column] = value;
- }
- }
- public System.Decimal 个人所得税 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.个人所得税Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table工资发放历史表.个人所得税Column] = value;
- }
- }
- public System.Decimal 实发金额 {
- get {
- try {
- return ((System.Decimal)(this[this.table工资发放历史表.实发金额Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- 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 int 月份 {
- get {
- try {
- return ((int)(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;
- }
- public bool Is职员编号Null() {
- return this.IsNull(this.table工资发放历史表.职员编号Column);
- }
- public void Set职员编号Null() {
- this[this.table工资发放历史表.职员编号Column] = System.Convert.DBNull;
- }
- public bool Is基本工资Null() {
- return this.IsNull(this.table工资发放历史表.基本工资Column);
- }
- public void Set基本工资Null() {
- this[this.table工资发放历史表.基本工资Column] = System.Convert.DBNull;
- }
- public bool Is浮动工资Null() {
- return this.IsNull(this.table工资发放历史表.浮动工资Column);
- }
- public void Set浮动工资Null() {
- this[this.table工资发放历史表.浮动工资Column] = System.Convert.DBNull;
- }
- public bool Is合同补Null() {
- return this.IsNull(this.table工资发放历史表.合同补Column);
- }
- public void Set合同补Null() {
- this[this.table工资发放历史表.合同补Column] = System.Convert.DBNull;
- }
- public bool Is粮副补Null() {
- return this.IsNull(this.table工资发放历史表.粮副补Column);
- }
- public void Set粮副补Null() {
- this[this.table工资发放历史表.粮副补Column] = System.Convert.DBNull;
- }
- public bool Is房补Null() {
- return this.IsNull(this.table工资发放历史表.房补Column);
- }
- public void Set房补Null() {
- this[this.table工资发放历史表.房补Column] = System.Convert.DBNull;
- }
- public bool Is临时补Null() {
- return this.IsNull(this.table工资发放历史表.临时补Column);
- }
- public void Set临时补Null() {
- this[this.table工资发放历史表.临时补Column] = System.Convert.DBNull;
- }
- public bool Is职务工资Null() {
- return this.IsNull(this.table工资发放历史表.职务工资Column);
- }
- public void Set职务工资Null() {
- this[this.table工资发放历史表.职务工资Column] = System.Convert.DBNull;
- }
- public bool Is工龄工资Null() {
- return this.IsNull(this.table工资发放历史表.工龄工资Column);
- }
- public void Set工龄工资Null() {
- this[this.table工资发放历史表.工龄工资Column] = System.Convert.DBNull;
- }
- public bool Is考核工资Null() {
- return this.IsNull(this.table工资发放历史表.考核工资Column);
- }
- public void Set考核工资Null() {
- this[this.table工资发放历史表.考核工资Column] = System.Convert.DBNull;
- }
- public bool Is奖金Null() {
- return this.IsNull(this.table工资发放历史表.奖金Column);
- }
- public void Set奖金Null() {
- this[this.table工资发放历史表.奖金Column] = System.Convert.DBNull;
- }
- public bool Is应发金额合计Null() {
- return this.IsNull(this.table工资发放历史表.应发金额合计Column);
- }
- public void Set应发金额合计Null() {
- this[this.table工资发放历史表.应发金额合计Column] = System.Convert.DBNull;
- }
- public bool Is房租Null() {
- return this.IsNull(this.table工资发放历史表.房租Column);
- }
- public void Set房租Null() {
- this[this.table工资发放历史表.房租Column] = System.Convert.DBNull;
- }
- public bool Is水电费Null() {
- return this.IsNull(this.table工资发放历史表.水电费Column);
- }
- public void Set水电费Null() {
- this[this.table工资发放历史表.水电费Column] = System.Convert.DBNull;
- }
- public bool Is请假扣除Null() {
- return this.IsNull(this.table工资发放历史表.请假扣除Column);
- }
- public void Set请假扣除Null() {
- this[this.table工资发放历史表.请假扣除Column] = System.Convert.DBNull;
- }
- public bool Is考勤扣除Null() {
- return this.IsNull(this.table工资发放历史表.考勤扣除Column);
- }
- public void Set考勤扣除Null() {
- this[this.table工资发放历史表.考勤扣除Column] = System.Convert.DBNull;
- }
- public bool Is罚款Null() {
- return this.IsNull(this.table工资发放历史表.罚款Column);
- }
- public void Set罚款Null() {
- this[this.table工资发放历史表.罚款Column] = System.Convert.DBNull;
- }
- public bool Is住房公积金Null() {
- return this.IsNull(this.table工资发放历史表.住房公积金Column);
- }
- public void Set住房公积金Null() {
- this[this.table工资发放历史表.住房公积金Column] = System.Convert.DBNull;
- }
- public bool Is医疗保险Null() {
- return this.IsNull(this.table工资发放历史表.医疗保险Column);
- }
- public void Set医疗保险Null() {
- this[this.table工资发放历史表.医疗保险Column] = System.Convert.DBNull;
- }
- public bool Is养老保险Null() {
- return this.IsNull(this.table工资发放历史表.养老保险Column);
- }
- public void Set养老保险Null() {
- this[this.table工资发放历史表.养老保险Column] = System.Convert.DBNull;
- }
- public bool Is失业保险Null() {
- return this.IsNull(this.table工资发放历史表.失业保险Column);
- }
- public void Set失业保险Null() {
- this[this.table工资发放历史表.失业保险Column] = System.Convert.DBNull;
- }
- public bool Is生育保险Null() {
- return this.IsNull(this.table工资发放历史表.生育保险Column);
- }
- public void Set生育保险Null() {
- this[this.table工资发放历史表.生育保险Column] = System.Convert.DBNull;
- }
- public bool Is工伤保险Null() {
- return this.IsNull(this.table工资发放历史表.工伤保险Column);
- }
- public void Set工伤保险Null() {
- this[this.table工资发放历史表.工伤保险Column] = System.Convert.DBNull;
- }
- public bool Is应扣金额合计Null() {
- return this.IsNull(this.table工资发放历史表.应扣金额合计Column);
- }
- public void Set应扣金额合计Null() {
- this[this.table工资发放历史表.应扣金额合计Column] = System.Convert.DBNull;
- }
- public bool Is工资合计Null() {
- return this.IsNull(this.table工资发放历史表.工资合计Column);
- }
- public void Set工资合计Null() {
- this[this.table工资发放历史表.工资合计Column] = System.Convert.DBNull;
- }
- public bool Is个人所得税Null() {
- return this.IsNull(this.table工资发放历史表.个人所得税Column);
- }
- public void Set个人所得税Null() {
- this[this.table工资发放历史表.个人所得税Column] = System.Convert.DBNull;
- }
- public bool Is实发金额Null() {
- return this.IsNull(this.table工资发放历史表.实发金额Column);
- }
- public void Set实发金额Null() {
- this[this.table工资发放历史表.实发金额Column] = System.Convert.DBNull;
- }
- public bool Is发放否Null() {
- return this.IsNull(this.table工资发放历史表.发放否Column);
- }
- public void Set发放否Null() {
- this[this.table工资发放历史表.发放否Column] = System.Convert.DBNull;
- }
- 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拼音编码;
- private DataColumn column单位地址;
- private DataColumn column单位电话号码;
- private DataColumn column开户银行;
- private DataColumn column帐号;
- 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拼音编码;
- }
- }
- 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开户全称;
- }
- }
- 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 拼音编码, string 单位地址, string 单位电话号码, string 开户银行, string 帐号, 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["拼音编码"];
- this.column单位地址 = this.Columns["单位地址"];
- this.column单位电话号码 = this.Columns["单位电话号码"];
- this.column开户银行 = this.Columns["开户银行"];
- this.column帐号 = this.Columns["帐号"];
- 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.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.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.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 {
- try {
- return ((string)(this[this.table组织机构编码表.单位名称Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- 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 string 单位地址 {
- get {
- try {
- return ((string)(this[this.table组织机构编码表.单位地址Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- 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 string 开户银行 {
- get {
- try {
- return ((string)(this[this.table组织机构编码表.开户银行Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- 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;