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

📄 losslistdataset.designer.cs

📁 c#三层架构项目开发的全过程
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this.columnloss_id = new global::System.Data.DataColumn("loss_id", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_id);
                this.columnloss_name_id = new global::System.Data.DataColumn("loss_name_id", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_name_id);
                this.columnloss_time = new global::System.Data.DataColumn("loss_time", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_time);
                this.columnloss_shop_id = new global::System.Data.DataColumn("loss_shop_id", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_shop_id);
                this.columnloss_assessor_id = new global::System.Data.DataColumn("loss_assessor_id", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_assessor_id);
                this.columnloss_advice = new global::System.Data.DataColumn("loss_advice", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_advice);
                this.columnloss_state = new global::System.Data.DataColumn("loss_state", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnloss_state);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnloss_id}, true));
                this.columnloss_id.AllowDBNull = false;
                this.columnloss_id.Unique = true;
                this.columnloss_id.MaxLength = 20;
                this.columnloss_name_id.MaxLength = 20;
                this.columnloss_assessor_id.MaxLength = 20;
                this.columnloss_advice.MaxLength = 10;
                this.columnloss_state.MaxLength = 10;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public Loss_Select_ByIDRow NewLoss_Select_ByIDRow() {
                return ((Loss_Select_ByIDRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new Loss_Select_ByIDRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override global::System.Type GetRowType() {
                return typeof(Loss_Select_ByIDRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Loss_Select_ByIDRowChanged != null)) {
                    this.Loss_Select_ByIDRowChanged(this, new Loss_Select_ByIDRowChangeEvent(((Loss_Select_ByIDRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Loss_Select_ByIDRowChanging != null)) {
                    this.Loss_Select_ByIDRowChanging(this, new Loss_Select_ByIDRowChangeEvent(((Loss_Select_ByIDRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Loss_Select_ByIDRowDeleted != null)) {
                    this.Loss_Select_ByIDRowDeleted(this, new Loss_Select_ByIDRowChangeEvent(((Loss_Select_ByIDRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Loss_Select_ByIDRowDeleting != null)) {
                    this.Loss_Select_ByIDRowDeleting(this, new Loss_Select_ByIDRowChangeEvent(((Loss_Select_ByIDRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveLoss_Select_ByIDRow(Loss_Select_ByIDRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                LossListDataSet ds = new LossListDataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "Loss_Select_ByIDDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        public partial class Loss_Select_ByIDRow : global::System.Data.DataRow {
            
            private Loss_Select_ByIDDataTable tableLoss_Select_ByID;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal Loss_Select_ByIDRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableLoss_Select_ByID = ((Loss_Select_ByIDDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string loss_id {
                get {
                    return ((string)(this[this.tableLoss_Select_ByID.loss_idColumn]));
                }
                set {
                    this[this.tableLoss_Select_ByID.loss_idColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string loss_name_id {
                get {
                    try {
                        return ((string)(this[this.tableLoss_Select_ByID.loss_name_idColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“Loss_Select_ByID”中列“loss_name_id”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableLoss_Select_ByID.loss_name_idColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime loss_time {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableLoss_Select_ByID.loss_timeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“Loss_Select_ByID”中列“loss_time”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableLoss_Select_ByID.loss_timeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int loss_shop_id {
                get {
                    try {
                        return ((int)(this[this.tableLoss_Select_ByID.loss_shop_idColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“Loss_Select_ByID”中列“loss_shop_id”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableLoss_Select_ByID.loss_shop_idColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string loss_assessor_id {
                get {
                    try {
                        return ((string)(this[this.tableLoss_Select_ByID.loss_assessor_idColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“Loss_Select_ByID”中列“loss_assessor_id”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableLoss_Select_ByID.loss_assessor_idColumn] = value;
                }

⌨️ 快捷键说明

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