DataSet1.cs
资源名称:VCSDB.rar [点击查看]
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:152k
源码类别:
企业管理
开发平台:
C#
- }
- }
- 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 {
- return ((string)(this[this.table组织机构编码表.单位编号Column]));
- }
- 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;
- }
- }
- [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单位名称;
- 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单位编号;
- }
- }
- 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 性别, int 出生日期, 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 职员编号, 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["单位名称"];
- 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(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(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职员编号,
- this.column单位编号}, true));
- 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 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 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 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 {
- return ((string)(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 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 惩罚类型, 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;
- }
- }
- }
- [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;
- }
- }
- }
- }
- }