⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testdataset.designer.cs

📁 社区管理系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is账款名称Null() {
                return this.IsNull(this.table账款信息.账款名称Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set账款名称Null() {
                this[this.table账款信息.账款名称Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is借方数目Null() {
                return this.IsNull(this.table账款信息.借方数目Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set借方数目Null() {
                this[this.table账款信息.借方数目Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is贷方数目Null() {
                return this.IsNull(this.table账款信息.贷方数目Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set贷方数目Null() {
                this[this.table账款信息.贷方数目Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is总计Null() {
                return this.IsNull(this.table账款信息.总计Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set总计Null() {
                this[this.table账款信息.总计Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is日期Null() {
                return this.IsNull(this.table账款信息.日期Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set日期Null() {
                this[this.table账款信息.日期Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is账款状态Null() {
                return this.IsNull(this.table账款信息.账款状态Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set账款状态Null() {
                this[this.table账款信息.账款状态Column] = System.Convert.DBNull;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class 账款信息RowChangeEvent : System.EventArgs {
            
            private 账款信息Row eventRow;
            
            private System.Data.DataRowAction eventAction;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 账款信息RowChangeEvent(账款信息Row row, System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 账款信息Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace CaiWuControlLibrary1.testDataSetTableAdapters {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.ComponentModel.ToolboxItem(true)]
    [System.ComponentModel.DataObjectAttribute(true)]
    [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class 账款信息TableAdapter : System.ComponentModel.Component {
        
        private System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private System.Data.SqlClient.SqlConnection _connection;
        
        private System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public 账款信息TableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new System.Data.SqlClient.SqlDataAdapter();
            System.Data.Common.DataTableMapping tableMapping = new System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "账款信息";
            tableMapping.ColumnMappings.Add("账款类别", "账款类别");
            tableMapping.ColumnMappings.Add("账款名称", "账款名称");
            tableMapping.ColumnMappings.Add("账款号码", "账款号码");
            tableMapping.ColumnMappings.Add("借方数目", "借方数目");
            tableMapping.ColumnMappings.Add("贷方数目", "贷方数目");
            tableMapping.ColumnMappings.Add("总计", "总计");
            tableMapping.ColumnMappings.Add("日期", "日期");
            tableMapping.ColumnMappings.Add("账款状态", "账款状态");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[账款信息] WHERE (((@IsNull_账款类别 = 1 AND [账款类别] IS NULL) OR ([账款类别] = @Original_账款类别)) AND ((@IsNull_账款名称 = 1 AND [账款名称] IS NULL) OR ([账款名称] = @Original_账款名称)) AND ([账款号码] = @Original_账款号码) AND ((@IsNull_借方数目 = 1 AND [借方数目] IS NULL) OR ([借方数目] = @Original_借方数目)) AND ((@IsNull_贷方数目 = 1 AND [贷方数目] IS NULL) OR ([贷方数目] = @Original_贷方数目)) AND ((@IsNull_总计 = 1 AND [总计] IS NULL) OR ([总计] = @Original_总计)) AND ((@IsNull_日期 = 1 AND [日期] IS NULL) OR ([日期] = @Original_日期)) AND ((@IsNull_账款状态 = 1 AND [账款状态] IS NULL) OR ([账款状态] = @Original_账款状态)))";
            this._adapter.DeleteCommand.CommandType = System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_账款类别", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "账款类别", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_账款类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "账款类别", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_账款名称", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "账款名称", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_账款名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "账款名称", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_账款号码", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "账款号码", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_借方数目", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "借方数目", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_借方数目", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "借方数目", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_贷方数目", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "贷方数目", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_贷方数目", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "贷方数目", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_总计", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "总计", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_总计", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "总计", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_日期", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "日期", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_日期", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "日期", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_账款状态", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "账款状态", System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_账款状态", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "账款状态", System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[账款信息] ([账款类别], [账款名称], [账款号码], [借方数目], [贷方数目], [总计], [日期], [账款" +
                "状态]) VALUES (@账款类别, @账款名称, @账款号码, @借方数目, @贷方数目, @总计, @日期, @账款状态);\r\nSELECT 账款类别, " +
                "账款名称, 账款号码, 借方数目, 贷方数目, 总计, 日期, 账款状态 FROM 账款信息 WHERE (账款号码 = @账款号码)";
            this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@账款类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "账款类别", System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@账款名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "账款名称", System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@账款号码", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "账款号码", System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@借方数目", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "借方数目", System.Data.DataRowVersion.Current, false, null, "", "", ""));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -