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

📄 传感器数据库dataset.designer.cs

📁 这是关于数据库中绑定到datagridwiew中的数据库技术
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this._column角位移_静态___ = new System.Data.DataColumn("角位移(静态/°)", typeof(int), null, System.Data.MappingType.Element);
                this._column角位移_静态___.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_角位移_静态___");
                this._column角位移_静态___.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_角位移_静态___Column");
                this._column角位移_静态___.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_column角位移_静态___");
                this._column角位移_静态___.ExtendedProperties.Add("Generator_UserColumnName", "角位移(静态/°)");
                base.Columns.Add(this._column角位移_静态___);
                this._column角位移_动态___ = new System.Data.DataColumn("角位移(动态/°)", typeof(double), null, System.Data.MappingType.Element);
                this._column角位移_动态___.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_角位移_动态___");
                this._column角位移_动态___.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_角位移_动态___Column");
                this._column角位移_动态___.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_column角位移_动态___");
                this._column角位移_动态___.ExtendedProperties.Add("Generator_UserColumnName", "角位移(动态/°)");
                base.Columns.Add(this._column角位移_动态___);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.column编号ID}, true));
                this.column编号ID.AllowDBNull = false;
                this.column编号ID.Unique = true;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 传感器数据总表Row New传感器数据总表Row() {
                return ((传感器数据总表Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new 传感器数据总表Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(传感器数据总表Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.传感器数据总表RowChanged != null)) {
                    this.传感器数据总表RowChanged(this, new 传感器数据总表RowChangeEvent(((传感器数据总表Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.传感器数据总表RowChanging != null)) {
                    this.传感器数据总表RowChanging(this, new 传感器数据总表RowChangeEvent(((传感器数据总表Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.传感器数据总表RowDeleted != null)) {
                    this.传感器数据总表RowDeleted(this, new 传感器数据总表RowChangeEvent(((传感器数据总表Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.传感器数据总表RowDeleting != null)) {
                    this.传感器数据总表RowDeleting(this, new 传感器数据总表RowChangeEvent(((传感器数据总表Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Remove传感器数据总表Row(传感器数据总表Row row) {
                this.Rows.Remove(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
                System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
                传感器数据库DataSet ds = new 传感器数据库DataSet();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "传感器数据总表DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class 传感器数据总表Row : System.Data.DataRow {
            
            private 传感器数据总表DataTable table传感器数据总表;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal 传感器数据总表Row(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.table传感器数据总表 = ((传感器数据总表DataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 编号ID {
                get {
                    return ((int)(this[this.table传感器数据总表.编号IDColumn]));
                }
                set {
                    this[this.table传感器数据总表.编号IDColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 日期 {
                get {
                    try {
                        return ((System.DateTime)(this[this.table传感器数据总表.日期Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“日期”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表.日期Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 时间 {
                get {
                    try {
                        return ((System.DateTime)(this[this.table传感器数据总表.时间Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“时间”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表.时间Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int _线位移_静态_mm_ {
                get {
                    try {
                        return ((int)(this[this.table传感器数据总表._线位移_静态_mm_Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“线位移(静态/mm)”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表._线位移_静态_mm_Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float _线位移_动态_mm_ {
                get {
                    try {
                        return ((float)(this[this.table传感器数据总表._线位移_动态_mm_Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“线位移(动态/mm)”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表._线位移_动态_mm_Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int _角位移_静态___ {
                get {
                    try {
                        return ((int)(this[this.table传感器数据总表._角位移_静态___Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“角位移(静态/°)”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表._角位移_静态___Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double _角位移_动态___ {
                get {
                    try {
                        return ((double)(this[this.table传感器数据总表._角位移_动态___Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“传感器数据总表”中列“角位移(动态/°)”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.table传感器数据总表._角位移_动态___Column] = value;

⌨️ 快捷键说明

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