Ðåôåðàòû. Àíàëèç òåêñòîâ íà çàèìñòâîâàíèå ìåòîäîì ïîñòðîåíèÿ ñåìàíòè÷åñêèõ ìîäåëåé

                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 = "link_typesDataTable";

                type.Attributes.Add(attribute2);

                type.Particle = sequence;

                return type;

            }

        }

       

        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]

        [System.Serializable()]

        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]

        public partial class linksDataTable : System.Data.DataTable, System.Collections.IEnumerable {

           

            private System.Data.DataColumn columnlink_from;

           

            private System.Data.DataColumn columnlink_to;

           

            private System.Data.DataColumn columnlink_weight;

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public linksDataTable() {

                this.TableName = "links";

                this.BeginInit();

                this.InitClass();

                this.EndInit();

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            internal linksDataTable(System.Data.DataTable table) {

                this.TableName = 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;

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected linksDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

                    base(info, context) {

                this.InitVars();

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public System.Data.DataColumn link_fromColumn {

                get {

                    return this.columnlink_from;

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public System.Data.DataColumn link_toColumn {

                get {

                    return this.columnlink_to;

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public System.Data.DataColumn link_weightColumn {

                get {

                    return this.columnlink_weight;

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            [System.ComponentModel.Browsable(false)]

            public int Count {

                get {

                    return this.Rows.Count;

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public linksRow this[int index] {

                get {

                    return ((linksRow)(this.Rows[index]));

                }

            }

           

            public event linksRowChangeEventHandler linksRowChanging;

           

            public event linksRowChangeEventHandler linksRowChanged;

           

            public event linksRowChangeEventHandler linksRowDeleting;

           

            public event linksRowChangeEventHandler linksRowDeleted;

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public void AddlinksRow(linksRow row) {

                this.Rows.Add(row);

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public linksRow AddlinksRow(int link_from, int link_to, double link_weight) {

                linksRow rowlinksRow = ((linksRow)(this.NewRow()));

                rowlinksRow.ItemArray = new object[] {

                        link_from,

                        link_to,

                        link_weight};

                this.Rows.Add(rowlinksRow);

                return rowlinksRow;

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public virtual System.Collections.IEnumerator GetEnumerator() {

                return this.Rows.GetEnumerator();

            }

            

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public override System.Data.DataTable Clone() {

                linksDataTable cln = ((linksDataTable)(base.Clone()));

                cln.InitVars();

                return cln;

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override System.Data.DataTable CreateInstance() {

                return new linksDataTable();

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            internal void InitVars() {

                this.columnlink_from = base.Columns["link_from"];

                this.columnlink_to = base.Columns["link_to"];

                this.columnlink_weight = base.Columns["link_weight"];

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            private void InitClass() {

                this.columnlink_from = new System.Data.DataColumn("link_from", typeof(int), null, System.Data.MappingType.Element);

                base.Columns.Add(this.columnlink_from);

                this.columnlink_to = new System.Data.DataColumn("link_to", typeof(int), null, System.Data.MappingType.Element);

                base.Columns.Add(this.columnlink_to);

                this.columnlink_weight = new System.Data.DataColumn("link_weight", typeof(double), null, System.Data.MappingType.Element);

                base.Columns.Add(this.columnlink_weight);

                this.columnlink_from.AllowDBNull = false;

                this.columnlink_to.AllowDBNull = false;

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public linksRow NewlinksRow() {

                return ((linksRow)(this.NewRow()));

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {

                return new linksRow(builder);

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override System.Type GetRowType() {

                return typeof(linksRow);

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {

                base.OnRowChanged(e);

                if ((this.linksRowChanged != null)) {

                    this.linksRowChanged(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {

                base.OnRowChanging(e);

                if ((this.linksRowChanging != null)) {

                    this.linksRowChanging(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {

                base.OnRowDeleted(e);

                if ((this.linksRowDeleted != null)) {

                    this.linksRowDeleted(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {

                base.OnRowDeleting(e);

                if ((this.linksRowDeleting != null)) {

                    this.linksRowDeleting(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));

                }

            }

           

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

            public void RemovelinksRow(linksRow 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();

                adbDataSet ds = new adbDataSet();

                xs.Add(ds.GetSchemaSerializable());

Ñòðàíèöû: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42



2012 © Âñå ïðàâà çàùèùåíû
Ïðè èñïîëüçîâàíèè ìàòåðèàëîâ àêòèâíàÿ ññûëêà íà èñòî÷íèê îáÿçàòåëüíà.