DataSet11.cs
资源名称:VCSDB.rar [点击查看]
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:39k
源码类别:
企业管理
开发平台:
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 DataSet11 : DataSet {
- private 个人所得税表DataTable table个人所得税表;
- private 职员奖励表DataTable table职员奖励表;
- public DataSet11() {
- this.InitClass();
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
- protected DataSet11(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["职员奖励表"]));
- }
- 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职员奖励表;
- }
- }
- public override DataSet Clone() {
- DataSet11 cln = ((DataSet11)(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["职员奖励表"]));
- }
- 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();
- }
- }
- private void InitClass() {
- this.DataSetName = "DataSet11";
- this.Prefix = "";
- this.Namespace = "http://www.tempuri.org/DataSet11.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职员奖励表);
- }
- 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);
- [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(int 编号, string 级数, System.Decimal 不计税工资, System.Decimal 工资下限, System.Decimal 工资上限, System.Decimal 个人所得税率, System.Decimal 速算扣除数, string 备注) {
- 个人所得税表Row row个人所得税表Row = ((个人所得税表Row)(this.NewRow()));
- row个人所得税表Row.ItemArray = new object[] {
- 编号,
- 级数,
- 不计税工资,
- 工资下限,
- 工资上限,
- 个人所得税率,
- 速算扣除数,
- 备注};
- this.Rows.Add(row个人所得税表Row);
- return row个人所得税表Row;
- }
- public 个人所得税表Row FindBy编号(int 编号) {
- 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(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.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.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
- this.column编号}, true));
- this.column编号.AllowDBNull = false;
- this.column编号.Unique = true;
- this.column级数.AllowDBNull = false;
- this.column不计税工资.AllowDBNull = false;
- this.column工资下限.AllowDBNull = false;
- this.column工资上限.AllowDBNull = false;
- this.column个人所得税率.AllowDBNull = false;
- this.column速算扣除数.AllowDBNull = false;
- }
- 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 {
- return ((int)(this[this.table个人所得税表.编号Column]));
- }
- set {
- this[this.table个人所得税表.编号Column] = value;
- }
- }
- public string 级数 {
- get {
- return ((string)(this[this.table个人所得税表.级数Column]));
- }
- set {
- this[this.table个人所得税表.级数Column] = value;
- }
- }
- public System.Decimal 不计税工资 {
- get {
- return ((System.Decimal)(this[this.table个人所得税表.不计税工资Column]));
- }
- set {
- this[this.table个人所得税表.不计税工资Column] = value;
- }
- }
- public System.Decimal 工资下限 {
- get {
- return ((System.Decimal)(this[this.table个人所得税表.工资下限Column]));
- }
- set {
- this[this.table个人所得税表.工资下限Column] = value;
- }
- }
- public System.Decimal 工资上限 {
- get {
- return ((System.Decimal)(this[this.table个人所得税表.工资上限Column]));
- }
- set {
- this[this.table个人所得税表.工资上限Column] = value;
- }
- }
- public System.Decimal 个人所得税率 {
- get {
- return ((System.Decimal)(this[this.table个人所得税表.个人所得税率Column]));
- }
- set {
- this[this.table个人所得税表.个人所得税率Column] = value;
- }
- }
- public System.Decimal 速算扣除数 {
- get {
- return ((System.Decimal)(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职员编号;
- 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 奖励类型, System.Double 奖励金额, string 是否计入工资, string 奖励原因, string 部门意见, int 奖励日期) {
- 职员奖励表Row row职员奖励表Row = ((职员奖励表Row)(this.NewRow()));
- row职员奖励表Row.ItemArray = new object[] {
- null,
- 职员编号,
- 奖励类型,
- 奖励金额,
- 是否计入工资,
- 奖励原因,
- 部门意见,
- 奖励日期};
- this.Rows.Add(row职员奖励表Row);
- return row职员奖励表Row;
- }
- public 职员奖励表Row FindBy序号(int 序号) {
- 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(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(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(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(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column奖励日期);
- this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
- this.column序号}, true));
- this.column序号.AutoIncrement = true;
- this.column序号.AllowDBNull = false;
- this.column序号.ReadOnly = true;
- this.column序号.Unique = true;
- this.column职员编号.AllowDBNull = false;
- }
- 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 {
- return ((int)(this[this.table职员奖励表.序号Column]));
- }
- set {
- this[this.table职员奖励表.序号Column] = value;
- }
- }
- 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 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 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 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;
- }
- }
- [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;
- }
- }
- }
- }
- }