Министерство образования и науки Украины

Запорожский институт экономики и информационных технологий

Факультет Компьютерной инженерии

Кафедр Компьютерных систем

Ка ЗАЩИТЕ ДОПУЩЕНА

Зав.кафедрой


МАГИСТЕРСКАЯ РАБОТА

анализ ТЕКСТОВ НА ЗАИМСТВОВАНИЕ МЕТОДОМ

ПОСТРОЕНИЯ СЕМАНТИЧЕСКИХ МОДЕЛЕЙ

Выполнил

ст. гр. КсиС-11М Евсеев Артур Александрович

Руководитель проф. Лебедева Людмила Николаевна

Нормоконтролер кимова Елена Александровна

 

 

 

 

 

 

 

Запорожье

2007


З А Д А Н И Е

НА АТТЕСТАЦИОННУЮ РАБОТУ МАГИСТРА

Студенту гр. КсиС-11М, специальности _Компьютерные системы и сети_

Евсееву Артуру Александровичу

(фамилия, имя, отчество)

1.Тема:

утверждена приказом по институту у Ф 200_ г. №

2.Срок сдачи студентом законченной работы

3.Перечень вопросов, подлежащих разработке

4.Объект исследования (характеристика объекта, словия исследования и др.)

5. Основные задачи исследования

Дата выдачи задания у Ф 200_ г.

Руководитель дипломной работы

(подпись) (фамилия и инициалы)а

Задание принял к выполнению

(подпись студента)(фамилия и инициалы)а


РЕФЕРАТ

Объем работы: стр. 104, приложений 6, таблиц 10, рисунков 18, источников 50, формул 23.

В работе рассматриваются вопросы применения технологий семантического нализа текстов, представленных на естественном языке с целью выявления наличия заимствований.

Задача определения факта заимствования сводится к сравнению моделей, отражающих смысловую нагрузку текстов. Анализ ведется с использованием алгоритмов на графах, модифицированных и оптимизированных для применения в рамках данной задачи.

Использование схем анализа данных, предложенных в данной работе, может позволить выявлять факт заимствования даже если оригинал был определенным образом модифицирован (выполнен перевод, слова были заменены на синонимы, текст был изложен с использованием другой лексики и т.д.).

Результаты выполнения работы могут быть использованы во всех прикладных направлениях, для которых применимы методы семантического нализа текстов.

ЕСТЕСТВЕННЫЕ ЯЗЫКИ, ЗАИМСТВОВАНИЕ, ИЗОМОРФНОСТЬ, НЕЧЕТКИЙ АНАЛИЗ, ОСМЫСЛЕННЫЙ АНАЛИЗ, ПЛАГИАТ, СЕМАНТИЧЕСКАЯ МОДЕЛЬ, ТЕОРИЯ ГРАФОВ, ЦИТИРОВАНИЕ.


СОДЕРЖАНИЕ TOC \o "1-3"

РАЗДЕЛ 1. 10

Методы решения задачи анализа текстов на заимствование. Постановка задачи.. 10

1.1. Задача анализа заимствований на базе семантических технологий.. 11

1.2. Выводы.. 13

РАЗДЕЛ 2. 14

Подходы к решению задачи анализа заимствований.. 14

2.1. Анализ на базе оценки релевантностей.. 14

2.2. Анализ на базе оценки смысловой нагрузки текста.. 20

2.2.1. Формирование семантического словаря. 20

2.2.2. Формирование семантических моделей. 28

2.2.3. Представление данных. 40

2.2.3.1. Объектная модель реализации инструмента для разбора форматов данных. 43

2.2.3.2. Преобразование из формата MS Word. 45

2.2.4. Алгоритм лексического и грамматического разбора предложений. 46

2.2.5 Выводы.. 54

РАЗДЕЛ 3. 55

лгоритмы, используемые для установления факта заимствований при семантическом анализе 55

3.1. Анализ изоморфности графов. 55

3.2. Анализ оптимальности алгоритма.. 73

3.3. Выводы.. 77

РАЗДЕЛ 4. 78

Реализация приложения.. 78

4.1. Обоснование выбора средств разработки.. 78

4.2. Программный комплекс. 81

4.2.1. Хранение данных. 82

4.3 Система анализа текстов на заимствование. 85

4.4 Тестирование системы.. 88

4.4.1. Тестирование модулей системы (модульное тестирование) 88

4.4.2. Тестирование корректности работы логики системы.. 89

4.4.3. Нагрузочное тестирование. 89

РАЗДЕЛ 5. 91

Возможности развития проекта.. 91

5.1. Формальное определение объектов семантической алгебры.. 91

5.2. Алгоритм лексического и грамматического разбора текстов. 94

5.3. Алгоритмы становления факта изоморфности графов. 95

5.4. Оптимизация хранилищ данных.. 96

5.5. Параллелизация вычислительных процессов. 96

5.6. Выводы.. 98

ВЫВОДЫ... 99

РЕКОМЕНДАЦИИ.. 101

ПЕРЕЧЕНЬ ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ.. 102

ПРИЛОЖЕНИЯ.. 106


saled class CExcelParser : CMSOfficeDocParser

{ Е }

saled class CWordParser : CMSOfficeDocParser

{ Е }

class CMSOfficeDocParser : CDocumentParser

{ Е. }

class CAbcDocParser : CDocumentParser

{ Е. }

аSHAPEа \* MERGEFORMAT

Промежуточные

классы

ПРИЛОЖЕНИЯ

ПРИЛОЖЕНИЕ А

Исходный текст CDocumentParser.cs

using System;

using System.Collections.Generic;

using System.Text;

namespace parser

{

abstract class CDocumentParser

{

/// <summary>

/// Определяет, совместим ли формат данного файла

/// для разбора данным парсером

/// </summary>

/// <param name="filename">Имя проверяемого файла</param>

/// <returns></returns>

public abstract bool is_format_compatible(string filename);

/// <summary>

/// Разобранный текст

/// </summary>

public string text = null;

/// <summary>

/// Выполняет разбор файла. Результат помещает в this.text

/// </summary>

/// <param name="filename">Имя файла для разбора</param>

public abstract void parse_file(string filename);

/// <summary>

/// Готовит sql-скрипт для вставки разобранной информации в БД

/// </summary>

/// <returns>SQL-скрипт</returns>

public abstract string generate_sql_script();

}

}


Приложение Б

Исходный текст CWordDocumentParser.cs

using System;

using System.Collections.Generic;

using System.Text;

using Microsoft.Office;

using System.IO;

using System.Reflection;

namespace parser

{

class CWordDocumentParser : CDocumentParser

{

public override void parse_file(string filename)

{

//проверяем, существует ли файл и соотвевтвует ли он формату

FileInfo fi = new FileInfo(filename);

if (!fi.Exists || !is_format_compatible(filename))

{

text = null;

return;

}

try

{

//Создаем приложение

Word.Application wa = new Word.ApplicationClass();

object FileNmae = filename;

object def_value = Missing.Value;

//Открываем документ

Word.Document wd = wa.Documents.Open(ref FileNmae, ref def_value,

ref def_value, ref def_value, ref def_value, ref def_value,

ref def_value, ref def_value, ref def_value, ref def_value,

ref def_value, ref def_value, ref def_value, ref def_value,

ref def_value);

//Получаем текст

this.text = wd.Content.Text;

//Закрываем приложение

wa.Quit(ref def_value, ref def_value, ref def_value);

}//try

catch

{

//Произошла какая-то ошибка

text = null;

return;

}

}//public override void parse_file(..)

public override bool is_format_compatible(string filename)

{

filename = filename.ToLower();

//Проверим расширение

if (filename.IndexOf(".doc") < 0) return false;

return true;

}

public override string generate_sql_script()

{

return null;

}

}

}


Приложение В

Исходный текст CWebDocument.cs

using System;

using System.Collections.Generic;

using System.Text;

using System.Net;

using System.IO;

namespace dictionary

{

class CWebData

{

private HttpWebRequest request;

private HttpWebResponse response;

private Stream inet_stream;

public string get_web_page(string url)

{

//Отправляем запрос

request = (HttpWebRequest)WebRequest.Create(url);

//Получаем ответи от WEB-сервера

response = (HttpWebResponse)request.GetResponse();

//Получаем поток из ответа сервера

inet_stream = response.GetResponseStream();

//Тут будем хранить результат, полученный со страницы

string result = "";

//Получаем данные из потока

int c = 0;

while ((c = inet_stream.ReadByte()) != -1)

result += (char)c;

return result;

}//get_web_page

}//class

}


Приложение Г

Исходный код CFileReader.cs

using System;

using System.Collections.Generic;

using System.Text;

using System.IO;

namespace dictionary

{

static class CFileReader

{

/// <summary>

/// Чиатет весь файл в строку

/// </summary>

/// <param name="filename">Имя файла</param>

/// <returns>Строка, содержащая данные из файла</returns>

аstatic public string ReadFile(string filename)

{

StreamReader Reader = new StreamReader(filename);

string result = "";

string tmp = "";

while ((tmp = Reader.ReadLine()) != null)

result += (tmp + '\n');

Reader.Close();

return result;

}

/// <summary>

/// Чиатает в строку нужную линию из файла

/// </summary>

/// <param name="filename">Имя файла</param>

/// <param name="lineNo">Номер строки, начиная с 0</param>

/// <returns>Прочитанную строку или null, если строка не найдена</returns>

static public string ReadFile(string filename, int lineNo)

{

StreamReader Reader = new StreamReader(filename);

string result = "";

string tmp;

//Добираемся до нужной строчки

for (int i = 0; i < lineNo; i++)

{

tmp = Reader.ReadLine();

if (tmp == null) //Нет больше строчек

{

Reader.Close();

return null;

}

}//for

result = Reader.ReadLine();

Reader.Close();

return result;

}

}

}


Приложение Д

Список ссылок по буквам Викисловаря

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%90

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%91

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%92

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%93

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%94

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%95

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%81

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%96

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%97

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%98

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%99

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%9A

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%9C

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%9D

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%9E

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%9F

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A0

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A1

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A2

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A3

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A4

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A5

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A6

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A7

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A8

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%A9

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AA

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AB

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AC

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AD

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AE

ссылка более недоступнаwiki/%D0%98%D0%BD%D0%B4%D0%B5%D0%BA%D1%81:%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA/%D0%AF


Приложение E

Исходные коды приложений семантичсекого анализа

app.config

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<configSections>

</configSections>

<connectionStrings>

<add name="app.Properties.Settings.adbConnectionString" connectionString="Data Source=E-ART-LAPTOP\SQLEXPRESS;Initial Catalog=adb;Integrated Security=True"

providerName="System.Data.SqlClient" />

</connectionStrings>

</configuration>

adbDataDesigner.Designer

#pragma warning disable 1591

namespace app {

using System;

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

[Serializable()]

[System.ComponentModel.DesignerCategoryAttribute("code")]

[System.ComponentModel.ToolboxItem(true)]

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

[System.Xml.Serialization.XmlRootAttribute("adbDataSet")]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]

public partial class adbDataSet : System.Data.DataSet {

private identitiesDataTable tableidentities;

private link_typesDataTable tablelink_types;

private linksDataTable tablelinks;

private text_identitiesDataTable tabletext_identities;

private textsDataTable tabletexts;

private System.Data.DataRelation relationlinks_link_types;

private System.Data.DataRelation relationlinks_link_types1;

а

private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public adbDataSet() {

this.BeginInit();

this.InitClass();

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

base.Tables.CollectionChanged += schemaChangedHandler;

base.Relations.CollectionChanged += schemaChangedHandler;

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base(info, context, false) {

if ((this.IsBinarySerialized(info, context) == true)) {

this.InitVars(false);

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

this.Tables.CollectionChanged += schemaChangedHandler1;

this.Relations.CollectionChanged += schemaChangedHandler1;

return;

}

string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));

if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {

System.Data.DataSet ds = new System.Data.DataSet();

ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));

if ((ds.Tables["identities"] != null)) {

base.Tables.Add(new identitiesDataTable(ds.Tables["identities"]));

}

if ((ds.Tables["link_types"] != null)) {

base.Tables.Add(new link_typesDataTable(ds.Tables["link_types"]));

}

if ((ds.Tables["links"] != null)) {

base.Tables.Add(new linksDataTable(ds.Tables["links"]));

}

if ((ds.Tables["text_identities"] != null)) {

base.Tables.Add(new text_identitiesDataTable(ds.Tables["text_identities"]));

}

if ((ds.Tables["texts"] != null)) {

base.Tables.Add(new textsDataTable(ds.Tables["texts"]));

}

this.DataSetName = ds.DataSetName;

this.Prefix = ds.Prefix;

this.Namespace = ds.Namespace;

this.Locale = ds.Locale;

this.CaseSensitive = ds.CaseSensitive;

this.EnforceConstraints = ds.EnforceConstraints;

this.Merge(ds, false, System.Data.MissingSchemaAction.Add);

this.InitVars();

}

else {

this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));

}

this.GetSerializationData(info, context);

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

base.Tables.CollectionChanged += schemaChangedHandler;

this.Relations.CollectionChanged += schemaChangedHandler;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public identitiesDataTable identities {

get {

return this.tableidentities;

}

}

а[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public link_typesDataTable link_types {

get {

return this.tablelink_types;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public linksDataTable links {

get {

return this.tablelinks;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public text_identitiesDataTable text_identities {

get {

return this.tabletext_identities;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public textsDataTable texts {

get {

return this.tabletexts;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.BrowsableAttribute(true)]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]

public override System.Data.SchemaSerializationMode SchemaSerializationMode {

get {

return this._schemaSerializationMode;

}

set {

this._schemaSerializationMode = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]

public new System.Data.DataTableCollection Tables {

get {

return base.Tables;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]

public new System.Data.DataRelationCollection Relations {

get {

return base.Relations;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override void InitializeDerivedDataSet() {

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataSet Clone() {

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

cln.InitVars();

cln.SchemaSerializationMode = this.SchemaSerializationMode;

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override bool ShouldSerializeTables() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override bool ShouldSerializeRelations() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {

if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {

this.Reset();

System.Data.DataSet ds = new System.Data.DataSet();

ds.ReadXml(reader);

if ((ds.Tables["identities"] != null)) {

base.Tables.Add(new identitiesDataTable(ds.Tables["identities"]));

}

if ((ds.Tables["link_types"] != null)) {

base.Tables.Add(new link_typesDataTable(ds.Tables["link_types"]));

}

if ((ds.Tables["links"] != null)) {

base.Tables.Add(new linksDataTable(ds.Tables["links"]));

}

if ((ds.Tables["text_identities"] != null)) {

base.Tables.Add(new text_identitiesDataTable(ds.Tables["text_identities"]));

}

if ((ds.Tables["texts"] != null)) {

base.Tables.Add(new textsDataTable(ds.Tables["texts"]));

}

this.DataSetName = ds.DataSetName;

this.Prefix = ds.Prefix;

this.Namespace = ds.Namespace;

this.Locale = ds.Locale;

this.CaseSensitive = ds.CaseSensitive;

this.EnforceConstraints = ds.EnforceConstraints;

this.Merge(ds, false, System.Data.MissingSchemaAction.Add);

this.InitVars();

}

else {

this.ReadXml(reader);

this.InitVars();

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {

System.IO.MemoryStream stream = new System.IO.MemoryStream();

this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));

stream.Position = 0;

return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.InitVars(true);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars(bool initTable) {

this.tableidentities = ((identitiesDataTable)(base.Tables["identities"]));

if ((initTable == true)) {

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

this.tableidentities.InitVars();

}

}

this.tablelink_types = ((link_typesDataTable)(base.Tables["link_types"]));

if ((initTable == true)) {

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

this.tablelink_types.InitVars();

}

}

this.tablelinks = ((linksDataTable)(base.Tables["links"]));

if ((initTable == true)) {

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

this.tablelinks.InitVars();

}

}

this.tabletext_identities = ((text_identitiesDataTable)(base.Tables["text_identities"]));

if ((initTable == true)) {

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

this.tabletext_identities.InitVars();

}

}

this.tabletexts = ((textsDataTable)(base.Tables["texts"]));

if ((initTable == true)) {

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

this.tabletexts.InitVars();

}

}

this.relationlinks_link_types = this.Relations["links_link_types"];

this.relationlinks_link_types1 = this.Relations["links_link_types1"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

this.DataSetName = "adbDataSet";

this.Prefix = "";

this.Namespace = "ссылка более недоступнаadbDataSet.xsd";

this.EnforceConstraints = true;

this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;

this.tableidentities = new identitiesDataTable();

base.Tables.Add(this.tableidentities);

this.tablelink_types = new link_typesDataTable();

base.Tables.Add(this.tablelink_types);

this.tablelinks = new linksDataTable();

base.Tables.Add(this.tablelinks);

this.tabletext_identities = new text_identitiesDataTable();

base.Tables.Add(this.tabletext_identities);

this.tabletexts = new textsDataTable();

base.Tables.Add(this.tabletexts);

this.relationlinks_link_types = new System.Data.DataRelation("links_link_types", new System.Data.DataColumn[] {

this.tablelinks.link_fromColumn}, new System.Data.DataColumn[] {

this.tablelink_types.link_idColumn}, false);

this.Relations.Add(this.relationlinks_link_types);

this.relationlinks_link_types1 = new System.Data.DataRelation("links_link_types1", new System.Data.DataColumn[] {

this.tablelinks.link_toColumn}, new System.Data.DataColumn[] {

this.tablelink_types.link_idColumn}, false);

this.Relations.Add(this.relationlinks_link_types1);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializeidentities() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializelink_types() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializelinks() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializetext_identities() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializetexts() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {

if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {

this.InitVars();

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {

adbDataSet ds = new adbDataSet();

System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();

System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();

xs.Add(ds.GetSchemaSerializable());

System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();

any.Namespace = ds.Namespace;

sequence.Items.Add(any);

type.Particle = sequence;

return type;

}

public delegate void identitiesRowChangeEventHandler(object sender, identitiesRowChangeEvent e);

public delegate void link_typesRowChangeEventHandler(object sender, link_typesRowChangeEvent e);

public delegate void linksRowChangeEventHandler(object sender, linksRowChangeEvent e);

public delegate void text_identitiesRowChangeEventHandler(object sender, text_identitiesRowChangeEvent e);

public delegate void textsRowChangeEventHandler(object sender, textsRowChangeEvent e);

а

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

[System.Serializable()]

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

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

private System.Data.DataColumn columnidentity_id;

private System.Data.DataColumn columnidentity_name;

private System.Data.DataColumn columnidentity_weight;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesDataTable() {

this.TableName = "identities";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal identitiesDataTable(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 identitiesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_idColumn {

get {

return this.columnidentity_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_nameColumn {

get {

return this.columnidentity_name;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_weightColumn {

get {

return this.columnidentity_weight;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow this[int index] {

get {

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

}

}

public event identitiesRowChangeEventHandler identitiesRowChanging;

public event identitiesRowChangeEventHandler identitiesRowChanged;

public event identitiesRowChangeEventHandler identitiesRowDeleting;

public event identitiesRowChangeEventHandler identitiesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void AddidentitiesRow(identitiesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow AddidentitiesRow(string identity_name, double identity_weight) {

identitiesRow rowidentitiesRow = ((identitiesRow)(this.NewRow()));

rowidentitiesRow.ItemArray = new object[] {

null,

identity_name,

identity_weight};

this.Rows.Add(rowidentitiesRow);

return rowidentitiesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new identitiesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columnidentity_id = base.Columns["identity_id"];

this.columnidentity_name = base.Columns["identity_name"];

this.columnidentity_weight = base.Columns["identity_weight"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columnidentity_id);

this.columnidentity_name = new System.Data.DataColumn("identity_name", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columnidentity_name);

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

base.Columns.Add(this.columnidentity_weight);

this.columnidentity_id.AutoIncrement = true;

this.columnidentity_id.AllowDBNull = false;

this.columnidentity_id.ReadOnly = true;

this.columnidentity_name.MaxLength = 2048;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow NewidentitiesRow() {

return ((identitiesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new identitiesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(identitiesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.identitiesRowChanged(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.identitiesRowChanging(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.identitiesRowDeleted(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.identitiesRowDeleting(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void RemoveidentitiesRow(identitiesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "identitiesDataTable";

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 link_typesDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columnlink_id;

private System.Data.DataColumn columnlink_name;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesDataTable() {

this.TableName = "link_types";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal link_typesDataTable(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 link_typesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn link_idColumn {

get {

return this.columnlink_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn link_nameColumn {

get {

return this.columnlink_name;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow this[int index] {

get {

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

}

}

public event link_typesRowChangeEventHandler link_typesRowChanging;

public event link_typesRowChangeEventHandler link_typesRowChanged;

public event link_typesRowChangeEventHandler link_typesRowDeleting;

public event link_typesRowChangeEventHandler link_typesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Addlink_typesRow(link_typesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Addlink_typesRow(string link_name) {

link_typesRow rowlink_typesRow = ((link_typesRow)(this.NewRow()));

rowlink_typesRow.ItemArray = new object[] {

null,

link_name};

this.Rows.Add(rowlink_typesRow);

return rowlink_typesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new link_typesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columnlink_id = base.Columns["link_id"];

this.columnlink_name = base.Columns["link_name"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columnlink_id);

this.columnlink_name = new System.Data.DataColumn("link_name", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columnlink_name);

this.columnlink_id.AutoIncrement = true;

this.columnlink_id.AllowDBNull = false;

this.columnlink_id.ReadOnly = true;

this.columnlink_name.AllowDBNull = false;

this.columnlink_name.MaxLength = 1024;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Newlink_typesRow() {

return ((link_typesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new link_typesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(link_typesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.link_typesRowChanged(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.link_typesRowChanging(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.link_typesRowDeleted(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.link_typesRowDeleting(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Removelink_typesRow(link_typesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "linksDataTable";

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 text_identitiesDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columntext_id;

private System.Data.DataColumn columnidentity_id;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesDataTable() {

this.TableName = "text_identities";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal text_identitiesDataTable(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 text_identitiesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_idColumn {

get {

return this.columntext_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_idColumn {

get {

return this.columnidentity_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow this[int index] {

get {

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

}

}

public event text_identitiesRowChangeEventHandler text_identitiesRowChanging;

public event text_identitiesRowChangeEventHandler text_identitiesRowChanged;

public event text_identitiesRowChangeEventHandler text_identitiesRowDeleting;

public event text_identitiesRowChangeEventHandler text_identitiesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Addtext_identitiesRow(text_identitiesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Addtext_identitiesRow(int text_id, int identity_id) {

text_identitiesRow rowtext_identitiesRow = ((text_identitiesRow)(this.NewRow()));

rowtext_identitiesRow.ItemArray = new object[] {

text_id,

identity_id};

this.Rows.Add(rowtext_identitiesRow);

return rowtext_identitiesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new text_identitiesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columntext_id = base.Columns["text_id"];

this.columnidentity_id = base.Columns["identity_id"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columntext_id);

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

base.Columns.Add(this.columnidentity_id);

this.columntext_id.AllowDBNull = false;

this.columnidentity_id.AllowDBNull = false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Newtext_identitiesRow() {

return ((text_identitiesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new text_identitiesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(text_identitiesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.text_identitiesRowChanged(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.text_identitiesRowChanging(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.text_identitiesRowDeleted(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.text_identitiesRowDeleting(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Removetext_identitiesRow(text_identitiesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "text_identitiesDataTable";

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 textsDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columntext_id;

private System.Data.DataColumn columntext;

private System.Data.DataColumn columntext_caption;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsDataTable() {

this.TableName = "texts";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal textsDataTable(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 textsDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_idColumn {

get {

return this.columntext_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn textColumn {

get {

return this.columntext;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_captionColumn {

get {

return this.columntext_caption;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow this[int index] {

get {

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

}

}

public event textsRowChangeEventHandler textsRowChanging;

public event textsRowChangeEventHandler textsRowChanged;

public event textsRowChangeEventHandler textsRowDeleting;

public event textsRowChangeEventHandler textsRowDeleted;

а[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void AddtextsRow(textsRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow AddtextsRow(string text, string text_caption) {

textsRow rowtextsRow = ((textsRow)(this.NewRow()));

rowtextsRow.ItemArray = new object[] {

null,

text,

text_caption};

this.Rows.Add(rowtextsRow);

return rowtextsRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new textsDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columntext_id = base.Columns["text_id"];

this.columntext = base.Columns["text"];

this.columntext_caption = base.Columns["text_caption"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columntext_id);

this.columntext = new System.Data.DataColumn("text", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columntext);

this.columntext_caption = new System.Data.DataColumn("text_caption", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columntext_caption);

this.columntext_id.AutoIncrement = true;

this.columntext_id.AllowDBNull = false;

this.columntext_id.ReadOnly = true;

this.columntext.MaxLength = 1073741823;

this.columntext_caption.MaxLength = 1024;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow NewtextsRow() {

return ((textsRow)(this.NewRow()));

}

а

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new textsRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(textsRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.textsRowChanged(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.textsRowChanging(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.textsRowDeleted(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.textsRowDeleting(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void RemovetextsRow(textsRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "textsDataTable";

type.Attributes.Add(attribute2);

type.Particle = sequence;

return type;

}

}

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

public partial class identitiesRow : System.Data.DataRow {

private identitiesDataTable tableidentities;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal identitiesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tableidentities = ((identitiesDataTable)(this.Table));

}

а

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int identity_id {

get {

return ((int)(this[this.tableidentities.identity_idColumn]));

}

set {

this[this.tableidentities.identity_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string identity_name {

get {

try {

return ((string)(this[this.tableidentities.identity_nameColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'identity_name\' in table \'identities\' is DBNull.", e);

}

}

set {

this[this.tableidentities.identity_nameColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public double identity_weight {

get {

try {

return ((double)(this[this.tableidentities.identity_weightColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'identity_weight\' in table \'identities\' is DBNull.", e);

}

}

set {

this[this.tableidentities.identity_weightColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Isidentity_nameNull() {

return this.IsNull(this.tableidentities.identity_nameColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setidentity_nameNull() {

this[this.tableidentities.identity_nameColumn] = System.Convert.DBNull;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Isidentity_weightNull() {

return this.IsNull(this.tableidentities.identity_weightColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setidentity_weightNull() {

this[this.tableidentities.identity_weightColumn] = System.Convert.DBNull;

}

}

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

public partial class link_typesRow : System.Data.DataRow {

private link_typesDataTable tablelink_types;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal link_typesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tablelink_types = ((link_typesDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_id {

get {

return ((int)(this[this.tablelink_types.link_idColumn]));

}

set {

this[this.tablelink_types.link_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string link_name {

get {

return ((string)(this[this.tablelink_types.link_nameColumn]));

}

set {

this[this.tablelink_types.link_nameColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRow linksRow {

get {

return ((linksRow)(this.GetParentRow(this.Table.ParentRelations["links_link_types"])));

}

set {

this.SetParentRow(value, this.Table.ParentRelations["links_link_types"]);

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRow linksRowBylinks_link_types1 {

get {

return ((linksRow)(this.GetParentRow(this.Table.ParentRelations["links_link_types1"])));

}

set {

this.SetParentRow(value, this.Table.ParentRelations["links_link_types1"]);

}

}

}

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

public partial class linksRow : System.Data.DataRow {

private linksDataTable tablelinks;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal linksRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tablelinks = ((linksDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_from {

get {

return ((int)(this[this.tablelinks.link_fromColumn]));

}

set {

this[this.tablelinks.link_fromColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_to {

get {

return ((int)(this[this.tablelinks.link_toColumn]));

}

set {

this[this.tablelinks.link_toColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public double link_weight {

get {

try {

return ((double)(this[this.tablelinks.link_weightColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'link_weight\' in table \'links\' is DBNull.", e);

}

}

set {

this[this.tablelinks.link_weightColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Islink_weightNull() {

return this.IsNull(this.tablelinks.link_weightColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setlink_weightNull() {

this[this.tablelinks.link_weightColumn] = System.Convert.DBNull;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow[] Getlink_typesRows() {

return ((link_typesRow[])(base.GetChildRows(this.Table.ChildRelations["links_link_types"])));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow[] Getlink_typesRowsBylinks_link_types1() {

return ((link_typesRow[])(base.GetChildRows(this.Table.ChildRelations["links_link_types1"])));

}

}

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

public partial class text_identitiesRow : System.Data.DataRow {

private text_identitiesDataTable tabletext_identities;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal text_identitiesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tabletext_identities = ((text_identitiesDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int text_id {

get {

return ((int)(this[this.tabletext_identities.text_idColumn]));

}

set {

this[this.tabletext_identities.text_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int identity_id {

get {

return ((int)(this[this.tabletext_identities.identity_idColumn]));

}

set {

this[this.tabletext_identities.identity_idColumn] = value;

}

}

}

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

public partial class textsRow : System.Data.DataRow {

private textsDataTable tabletexts;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal textsRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tabletexts = ((textsDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int text_id {

get {

return ((int)(this[this.tabletexts.text_idColumn]));

}

set {

this[this.tabletexts.text_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string text {

get {

try {

return ((string)(this[this.tabletexts.textColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'text\' in table \'texts\' is DBNull.", e);

}

}

set {

this[this.tabletexts.textColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string text_caption {

get {

try {

return ((string)(this[this.tabletexts.text_captionColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'text_caption\' in table \'texts\' is DBNull.", e);

}

}

set {

this[this.tabletexts.text_captionColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool IstextNull() {

return this.IsNull(this.tabletexts.textColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void SettextNull() {

this[this.tabletexts.textColumn] = System.Convert.DBNull;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Istext_captionNull() {

return this.IsNull(this.tabletexts.text_captionColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Settext_captionNull() {

this[this.tabletexts.text_captionColumn] = System.Convert.DBNull;

}

}

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

public class identitiesRowChangeEvent : System.EventArgs {

private identitiesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRowChangeEvent(identitiesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class link_typesRowChangeEvent : System.EventArgs {

private link_typesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRowChangeEvent(link_typesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class linksRowChangeEvent : System.EventArgs {

private linksRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRowChangeEvent(linksRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class text_identitiesRowChangeEvent : System.EventArgs {

private text_identitiesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRowChangeEvent(text_identitiesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

аthis.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Row {

get {

return this.eventRow;

}

а}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class textsRowChangeEvent : System.EventArgs {

private textsRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRowChangeEvent(textsRow row, System.Data.DataRowAction action) {

this.eventRow = row;

аthis.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

}

}

namespace app.adbDataSetTableAdapters {

[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 identitiesTableAdapter : 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 identitiesTableAdapter() {

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

tableMapping.ColumnMappings.Add("identity_id", "identity_id");

tableMapping.ColumnMappings.Add("identity_name", "identity_name");

tableMapping.ColumnMappings.Add("identity_weight", "identity_weight");

this._adapter.TableMappings.Add(tableMapping);

this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();

this._adapter.InsertCommand.Connection = this.Connection;

this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[identities] ([identity_name], [identity_weight]) VALUES (@iden" +

"tity_name, @identity_weight)";

this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@identity_name", System.Data.SqlDbType.NChar, 0, System.Data.ParameterDirection.Input, 0, 0, "identity_name", System.Data.DataRowVersion.Current, false, null, "", "", ""));

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@identity_weight", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "identity_weight", System.Data.DataRowVersion.Current, false, null, "", "", ""));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitConnection() {

this._connection = new System.Data.SqlClient.SqlConnection();

this._connection.ConnectionString = global::app.Properties.Settings.Default.adbConnectionString;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.SqlClient.SqlCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

this._commandCollection[0].Connection = this.Connection;

this._commandCollection[0].CommandText = "SELECT identity_id, identity_name, identity_weight FROM dbo.identities";

this._commandCollection[0].CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]

public virtual int Fill(adbDataSet.identitiesDataTable dataTable) {

this.Adapter.SelectCommand = this.CommandCollection[0];

if ((this.ClearBeforeFill == true)) {

dataTable.Clear();

}

int returnValue = this.Adapter.Fill(dataTable);

return returnValue;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

public virtual adbDataSet.identitiesDataTable GetData() {

this.Adapter.SelectCommand = this.CommandCollection[0];

adbDataSet.identitiesDataTable dataTable = new adbDataSet.identitiesDataTable();

this.Adapter.Fill(dataTable);

return dataTable;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet.identitiesDataTable dataTable) {

return this.Adapter.Update(dataTable);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet dataSet) {

return this.Adapter.Update(dataSet, "identities");

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow dataRow) {

return this.Adapter.Update(new System.Data.DataRow[] {

dataRow});

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow[] dataRows) {

return this.Adapter.Update(dataRows);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

public virtual int Insert(string identity_name, System.Nullable<double> identity_weight) {

if ((identity_name == null)) {

this.Adapter.InsertCommand.Parameters[0].Value = System.DBNull.Value;

}

else {

this.Adapter.InsertCommand.Parameters[0].Value = ((string)(identity_name));

}

if ((identity_weight.HasValue == true)) {

this.Adapter.InsertCommand.Parameters[1].Value = ((double)(identity_weight.Value));

}

else {

this.Adapter.InsertCommand.Parameters[1].Value = System.DBNull.Value;

}

System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;

if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

this.Adapter.InsertCommand.Connection.Open();

}

try {

int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();

return returnValue;

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

this.Adapter.InsertCommand.Connection.Close();

}

}

а}

}

[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 link_typesTableAdapter : 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 link_typesTableAdapter() {

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

tableMapping.ColumnMappings.Add("link_id", "link_id");

tableMapping.ColumnMappings.Add("link_name", "link_name");

this._adapter.TableMappings.Add(tableMapping);

this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();

this._adapter.InsertCommand.Connection = this.Connection;

this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[link_types] ([link_name]) VALUES (@link_name)";

this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@link_name", System.Data.SqlDbType.NChar, 0, System.Data.ParameterDirection.Input, 0, 0, "link_name", System.Data.DataRowVersion.Current, false, null, "", "", ""));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitConnection() {

this._connection = new System.Data.SqlClient.SqlConnection();

this._connection.ConnectionString = global::app.Properties.Settings.Default.adbConnectionString;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.SqlClient.SqlCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

this._commandCollection[0].Connection = this.Connection;

this._commandCollection[0].CommandText = "SELECT link_id, link_name FROM dbo.link_types";

this._commandCollection[0].CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]

public virtual int Fill(adbDataSet.link_typesDataTable dataTable) {

this.Adapter.SelectCommand = this.CommandCollection[0];

if ((this.ClearBeforeFill == true)) {

dataTable.Clear();

}

int returnValue = this.Adapter.Fill(dataTable);

return returnValue;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

public virtual adbDataSet.link_typesDataTable GetData() {

this.Adapter.SelectCommand = this.CommandCollection[0];

adbDataSet.link_typesDataTable dataTable = new adbDataSet.link_typesDataTable();

this.Adapter.Fill(dataTable);

return dataTable;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet.link_typesDataTable dataTable) {

return this.Adapter.Update(dataTable);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet dataSet) {

return this.Adapter.Update(dataSet, "link_types");

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow dataRow) {

return this.Adapter.Update(new System.Data.DataRow[] {

dataRow});

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow[] dataRows) {

return this.Adapter.Update(dataRows);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

public virtual int Insert(string link_name) {

if ((link_name == null)) {

throw new System.ArgumentNullException("link_name");

}

else {

this.Adapter.InsertCommand.Parameters[0].Value = ((string)(link_name));

}

System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;

if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

this.Adapter.InsertCommand.Connection.Open();

}

try {

int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();

return returnValue;

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

this.Adapter.InsertCommand.Connection.Close();

}

}

}

}

[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 linksTableAdapter : 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 linksTableAdapter() {

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

tableMapping.ColumnMappings.Add("link_from", "link_from");

tableMapping.ColumnMappings.Add("link_to", "link_to");

tableMapping.ColumnMappings.Add("link_weight", "link_weight");

this._adapter.TableMappings.Add(tableMapping);

this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();

this._adapter.InsertCommand.Connection = this.Connection;

this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[links] ([link_from], [link_to], [link_weight]) VALUES (@link_f" +

"rom, @link_to, @link_weight)";

this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@link_from", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "link_from", System.Data.DataRowVersion.Current, false, null, "", "", ""));

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@link_to", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "link_to", System.Data.DataRowVersion.Current, false, null, "", "", ""));

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@link_weight", System.Data.SqlDbType.Float, 0, System.Data.ParameterDirection.Input, 0, 0, "link_weight", System.Data.DataRowVersion.Current, false, null, "", "", ""));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitConnection() {

this._connection = new System.Data.SqlClient.SqlConnection();

this._connection.ConnectionString = global::app.Properties.Settings.Default.adbConnectionString;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.SqlClient.SqlCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

this._commandCollection[0].Connection = this.Connection;

this._commandCollection[0].CommandText = "SELECT link_from, link_to, link_weight FROM dbo.links";

this._commandCollection[0].CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]

public virtual int Fill(adbDataSet.linksDataTable dataTable) {

this.Adapter.SelectCommand = this.CommandCollection[0];

if ((this.ClearBeforeFill == true)) {

dataTable.Clear();

}

int returnValue = this.Adapter.Fill(dataTable);

return returnValue;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

public virtual adbDataSet.linksDataTable GetData() {

this.Adapter.SelectCommand = this.CommandCollection[0];

adbDataSet.linksDataTable dataTable = new adbDataSet.linksDataTable();

this.Adapter.Fill(dataTable);

return dataTable;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet.linksDataTable dataTable) {

return this.Adapter.Update(dataTable);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet dataSet) {

return this.Adapter.Update(dataSet, "links");

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow dataRow) {

return this.Adapter.Update(new System.Data.DataRow[] {

dataRow});

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow[] dataRows) {

return this.Adapter.Update(dataRows);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

public virtual int Insert(int link_from, int link_to, System.Nullable<double> link_weight) {

this.Adapter.InsertCommand.Parameters[0].Value = ((int)(link_from));

this.Adapter.InsertCommand.Parameters[1].Value = ((int)(link_to));

if ((link_weight.HasValue == true)) {

this.Adapter.InsertCommand.Parameters[2].Value = ((double)(link_weight.Value));

}

else {

this.Adapter.InsertCommand.Parameters[2].Value = System.DBNull.Value;

}

System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;

if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

this.Adapter.InsertCommand.Connection.Open();

}

try {

int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();

return returnValue;

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

this.Adapter.InsertCommand.Connection.Close();

}

}

}

}

[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 text_identitiesTableAdapter : 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 text_identitiesTableAdapter() {

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

tableMapping.ColumnMappings.Add("text_id", "text_id");

tableMapping.ColumnMappings.Add("identity_id", "identity_id");

this._adapter.TableMappings.Add(tableMapping);

this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();

this._adapter.InsertCommand.Connection = this.Connection;

this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[text_identities] ([text_id], [identity_id]) VALUES (@text_id, " +

"@identity_id)";

this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@text_id", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "text_id", System.Data.DataRowVersion.Current, false, null, "", "", ""));

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@identity_id", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "identity_id", System.Data.DataRowVersion.Current, false, null, "", "", ""));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitConnection() {

this._connection = new System.Data.SqlClient.SqlConnection();

this._connection.ConnectionString = global::app.Properties.Settings.Default.adbConnectionString;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.SqlClient.SqlCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

this._commandCollection[0].Connection = this.Connection;

this._commandCollection[0].CommandText = "SELECT text_id, identity_id FROM dbo.text_identities";

this._commandCollection[0].CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]

public virtual int Fill(adbDataSet.text_identitiesDataTable dataTable) {

this.Adapter.SelectCommand = this.CommandCollection[0];

if ((this.ClearBeforeFill == true)) {

dataTable.Clear();

}

int returnValue = this.Adapter.Fill(dataTable);

return returnValue;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

public virtual adbDataSet.text_identitiesDataTable GetData() {

this.Adapter.SelectCommand = this.CommandCollection[0];

adbDataSet.text_identitiesDataTable dataTable = new adbDataSet.text_identitiesDataTable();

this.Adapter.Fill(dataTable);

return dataTable;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet.text_identitiesDataTable dataTable) {

return this.Adapter.Update(dataTable);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet dataSet) {

return this.Adapter.Update(dataSet, "text_identities");

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow dataRow) {

return this.Adapter.Update(new System.Data.DataRow[] {

dataRow});

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow[] dataRows) {

return this.Adapter.Update(dataRows);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

public virtual int Insert(int text_id, int identity_id) {

this.Adapter.InsertCommand.Parameters[0].Value = ((int)(text_id));

this.Adapter.InsertCommand.Parameters[1].Value = ((int)(identity_id));

System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;

if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

this.Adapter.InsertCommand.Connection.Open();

}

try {

int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();

return returnValue;

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

this.Adapter.InsertCommand.Connection.Close();

}

}

}

}

[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 textsTableAdapter : 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 textsTableAdapter() {

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

tableMapping.ColumnMappings.Add("text_id", "text_id");

tableMapping.ColumnMappings.Add("text", "text");

tableMapping.ColumnMappings.Add("text_caption", "text_caption");

this._adapter.TableMappings.Add(tableMapping);

this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();

this._adapter.InsertCommand.Connection = this.Connection;

this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[texts] ([text], [text_caption]) VALUES (@text, @text_caption)";

this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@text", System.Data.SqlDbType.NText, 0, System.Data.ParameterDirection.Input, 0, 0, "text", System.Data.DataRowVersion.Current, false, null, "", "", ""));

this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@text_caption", System.Data.SqlDbType.NChar, 0, System.Data.ParameterDirection.Input, 0, 0, "text_caption", System.Data.DataRowVersion.Current, false, null, "", "", ""));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitConnection() {

this._connection = new System.Data.SqlClient.SqlConnection();

this._connection.ConnectionString = global::app.Properties.Settings.Default.adbConnectionString;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.SqlClient.SqlCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

this._commandCollection[0].Connection = this.Connection;

this._commandCollection[0].CommandText = "SELECT text_id, text, text_caption FROM dbo.texts";

this._commandCollection[0].CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]

public virtual int Fill(adbDataSet.textsDataTable dataTable) {

this.Adapter.SelectCommand = this.CommandCollection[0];

if ((this.ClearBeforeFill == true)) {

dataTable.Clear();

}

int returnValue = this.Adapter.Fill(dataTable);

return returnValue;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

public virtual adbDataSet.textsDataTable GetData() {

this.Adapter.SelectCommand = this.CommandCollection[0];

adbDataSet.textsDataTable dataTable = new adbDataSet.textsDataTable();

this.Adapter.Fill(dataTable);

return dataTable;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet.textsDataTable dataTable) {

return this.Adapter.Update(dataTable);

}

а

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(adbDataSet dataSet) {

return this.Adapter.Update(dataSet, "texts");

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow dataRow) {

return this.Adapter.Update(new System.Data.DataRow[] {

dataRow});

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

public virtual int Update(System.Data.DataRow[] dataRows) {

return this.Adapter.Update(dataRows);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

public virtual int Insert(string text, string text_caption) {

if ((text == null)) {

this.Adapter.InsertCommand.Parameters[0].Value = System.DBNull.Value;

}

else {

this.Adapter.InsertCommand.Parameters[0].Value = ((string)(text));

}

if ((text_caption == null)) {

this.Adapter.InsertCommand.Parameters[1].Value = System.DBNull.Value;

}

else {

this.Adapter.InsertCommand.Parameters[1].Value = ((string)(text_caption));

}

System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;

if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

this.Adapter.InsertCommand.Connection.Open();

}

try {

int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();

return returnValue;

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

this.Adapter.InsertCommand.Connection.Close();

}

}

}

}

[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 QueriesTableAdapter : System.ComponentModel.Component {

private System.Data.IDbCommand[] _commandCollection;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected System.Data.IDbCommand[] CommandCollection {

get {

if ((this._commandCollection == null)) {

this.InitCommandCollection();

}

return this._commandCollection;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitCommandCollection() {

this._commandCollection = new System.Data.IDbCommand[1];

this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();

((System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new System.Data.SqlClient.SqlConnection(global::app.Properties.Settings.Default.adbConnectionString);

((System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "INSERT into texts(text, text_caption) values (:text, :text_caption)";

((System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = System.Data.CommandType.Text;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, false)]

public virtual int SQLInsText() {

System.Data.SqlClient.SqlCommand command = ((System.Data.SqlClient.SqlCommand)(this.CommandCollection[0]));

System.Data.ConnectionState previousConnectionState = command.Connection.State;

if (((command.Connection.State & System.Data.ConnectionState.Open)

!= System.Data.ConnectionState.Open)) {

command.Connection.Open();

}

int returnValue;

try {

returnValue = command.ExecuteNonQuery();

}

finally {

if ((previousConnectionState == System.Data.ConnectionState.Closed)) {

command.Connection.Close();

}

}

return returnValue;

}

}

}

#pragma warning restore 1591

CFileReader

using System;

using System.Collections.Generic;

using System.Text;

using System.IO;

namespace app

{

static class CFileReader

{

/// <summary>

/// ب᳥𡣥򺡴᪫ ࡱ󱯪񋈠 /// </summary>

/// <param name="filename">ɬ��param>

/// <returns>Ҳ񯫠, 򯥥񧡹ὠ塭 饠��returns>

static public string ReadFile(string filename)

{

StreamReader Reader = new StreamReader(filename);

string result = "";

string tmp = "";

while ((tmp = Reader.ReadLine()) != null)

result += (tmp + '\n');

Reader.Close();

return result;

}

/// <summary>

/// ب᳠氠ࡱ󱯪񡮳箳��᪫� /// </summary>

/// <param name="filename">ɬ��param>

/// <param name="lineNo">ή� 򳱮리 鮠�/param>

/// <returns>а︨󡮭�󱯪Ż柮ull, 沫桱󱯪�᪤殠</returns>

static public string ReadFile(string filename, int lineNo)

{

StreamReader Reader = new StreamReader(filename);

string result = "";

string tmp;

//Ů⩰᦬򽡤졭�硱󱯷릍

for (int i = 0; i < lineNo; i++)

{

tmp = Reader.ReadLine();

if (tmp == null) //Υ𡢮콸󱯷樍

{

Reader.Close();

return null;

}

}//for

result = Reader.ReadLine();

Reader.Close();

return result;

}

}

}

CFileWriter

using System;

using System.Collections.Generic;

using System.Text;

using System.IO;

namespace app

{

static class CFileWriter

{

public static bool WriteToFile(string filename, string text)

{

StreamWriter f;

if (!File.Exists(filename))

{

try

{

f = File.CreateText(filename);

}

catch

{

return false;

}

}//if

else

{

try

{

f = new StreamWriter(filename, true);

}

catch

{

return false;

}

}//else

try

{

f.WriteLine(text);

}

catch

{

return false;

}

f.Close();

return true;

}

}

}

FMainDesigner.cs

namespace app

{

partial class FMain

{

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.IContainer components = null;

/// <summary>

/// Clean up any resources being used.

/// </summary>

/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

protected override void Dispose(bool disposing)

{

if (disposing && (components != null))

{

components.Dispose();

}

base.Dispose(disposing);

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

this.richTextBox1 = new System.Windows.Forms.RichTextBox();

this.button1 = new System.Windows.Forms.Button();

this.label1 = new System.Windows.Forms.Label();

this.textBox1 = new System.Windows.Forms.TextBox();

this.SuspendLayout();

//

// richTextBox1

//

this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)

| System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.richTextBox1.Location = new System.Drawing.Point(1, 52);

this.richTextBox1.Name = "richTextBox1";

this.richTextBox1.Size = new System.Drawing.Size(576, 209);

this.richTextBox1.TabIndex = 0;

this.richTextBox1.Text = "";

//

// button1

//

this.button1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;

this.button1.Location = new System.Drawing.Point(184, 273);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(210, 25);

this.button1.TabIndex = 1;

this.button1.Text = "û𐯫�饢;

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// label1

//

this.label1.AutoSize = true;

this.label1.Location = new System.Drawing.Point(-2, 4);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(98, 13);

this.label1.TabIndex = 2;

this.label1.Text = "Ƞ䯫衲櫱󞠻

//

// textBox1

//

this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.textBox1.Location = new System.Drawing.Point(1, 20);

this.textBox1.Name = "textBox1";

this.textBox1.Size = new System.Drawing.Size(576, 20);

this.textBox1.TabIndex = 3;

//

// FMain

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(578, 302);

this.Controls.Add(this.textBox1);

this.Controls.Add(this.label1);

this.Controls.Add(this.button1);

this.Controls.Add(this.richTextBox1);

this.Name = "FMain";

this.Text = "Text analizer";

this.ResumeLayout(false);

this.PerformLayout();

}

#endregion

private System.Windows.Forms.RichTextBox richTextBox1;

private System.Windows.Forms.Button button1;

private System.Windows.Forms.Label label1;

private System.Windows.Forms.TextBox textBox1;

}

}

FResult.cs

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

using System.Data.OleDb;

using System.Threading;

using System.IO;

namespace app

{


public partial class FResult : Form

{

/// <summary>

/// Ƞ䯫衲櫱󞋊 /// </summary>

public string caption;

/// <summary>

/// Ҡꡲ櫱눠 /// </summary>

public string source;

/// <summary>

/// ӳ𡢳崲 �鳼򽡱鮲᫱鸥򫦠衪﮷殭�步

/// </summary>

private List<string> syntax_list = new List<string>();

/// <summary>

/// ӳ𡢳崲 �鳼򽡱歠�桧᫮㡽즬殲� /// </summary>

private List<string> semantic_list = new List<string>();

/// <summary>

/// Ҩ"칬 믲ﱻᨤ欿�󡫱鸥򫩥 ⬮릠ࡲ櫱󣋊 /// </summary>

private string separators = ".,:-()!?\"';";

/// <summary>

/// ު覬𐬿�Ჱ�󡳨򳩪拊 /// </summary>

private CStatistics statistics = new CStatistics();

public FResult()

{

InitializeComponent();

}

/// <summary>

/// Callback-᢮󸩪

/// 嬿 󯤮, ���館吝ﲲ���ﳮ랠衽즬殲᪠鮲汴檱� /// </summary>

/// <param name="text"></param>

delegate void SetTextCallback(string text);

/// <summary>

/// Callback-᢮󸩪

/// 嬿 󯤮, ���館吝ﲲ���ﳮ랠衽즬殲᪠鮲汴檱� /// </summary>

/// <param name="text"></param>

delegate void SetProgressRangeCallBack(int min, int max);

/// <summary>

/// Callback-᢮󸩪

/// 嬿 󯤮, ���館吝ﲲ���ﳮ랠衽즬殲᪠鮲汴檱� /// </summary>

/// <param name="text"></param>

delegate void SetProgressIncCallBack(int value);

/// <summary>

/// Callback-᢮󸩪

/// 嬿 󯤮, ���館吝ﲲ���ﳮ랠衽즬殲᪠鮲汴檱� /// </summary>

/// <param name="text"></param>

delegate void SetLogCallBack(string text);

/// <summary>

/// û𐯫𡨠𐩱�� �󹡨񵦩򞋊 /// </summary>

/// <param name="text"></param>

private void WriteIntoText(string text)

{

if (this.TextOperation.InvokeRequired)

{

SetTextCallback d = new SetTextCallback(WriteIntoText);

this.Invoke(d, new object[] { text });

}

else

{

TextOperation.Text = text;

WriteIntoLog(text);

}//else

}

/// <summary>

/// û𐯫�ᰨ򺡲櫱󞡢 쯣

/// </summary>

/// <param name="text"></param>

private void WriteIntoLog(string text)

{

if (this.ProgressLog.InvokeRequired)

{

SetLogCallBack d = new SetLogCallBack(WriteIntoLog);

this.Invoke(d, new object[] { text });

}

else

{

ProgressLog.Text += text;

ProgressLog.Text += '\n';

}//else

}

/// <summary>

/// Ա󡮠㬨㡥𡤰ᮨ�콠progress

/// </summary>

/// <param name="min"></param>

/// <param name="max"></param>

private void SetProgressRange(int min, int max)

{

if (this.progress.InvokeRequired)

{

SetProgressRangeCallBack d = new SetProgressRangeCallBack(SetProgressRange);

this.Invoke(d, new object[] { min, max });

}

else

{

this.progress.Minimum = min;

this.progress.Maximum = max;

}//else

}

/// <summary>

/// Ԣ欨�氠讠�㟰rogress 1

/// </summary>

/// <param name="value"></param>

private void ProgressInc(int value)

{

if (this.progress.InvokeRequired)

{

SetProgressIncCallBack d = new SetProgressIncCallBack(ProgressInc);

this.Invoke(d, new object[] { value });

}

else

progress.Increment(value);

}

/// <summary>

/// Į󯣨𡲲񯫳 衯דּ���易�欨

/// </summary>

/// <param name="source"></param>

/// <returns></returns>

private string prepare_string(string source)

{

string tmp = source;

//Ҩ"칬 믲ﱻ� 㼰樿󺡢 ᬥ 桪﮶㋊ string symbols = ".,()!@#$%^&*_-\\|/";

bool flag = true;

while (flag)

{

flag = false;

for (int i = 0; i < symbols.Length; i++)

{

//û񦨠檠쩸A 򩭢כּ ࡭Ḡ죍

while (tmp.IndexOf(symbols[i]) == 0)

{

tmp = tmp.Remove(0, 1);

flag = true;

}//while ' '

//û񦨠檠쩸A 򩭢כּ ࡪ﮶㋊ while (tmp.IndexOf(symbols[i]) == tmp.Length)

{

tmp = tmp.Remove(tmp.Length, 1);

flag = true;

}//while ' '

}//for

}//while flag

//û񦨠檠壮ꮻ񯢥칍

while (tmp.IndexOf("а ") >= 0)

{

tmp = tmp.Remove(tmp.IndexOf("а "), 1);

}//while "а "

return tmp;

}

/// <summary>

/// û𐯫𡲨벨�駠ıﮠ󦫱󞋊 /// </summary>

/// <param name="source"></param>

/// <returns></returns>

private void parse_syntax(string source)

{

//Ҿ垠ⴤ檠㲥 򯢨񡳼

//�𐯲猪㲥 㭥򳣠㯧㱠󩪍

List<string> tmp = new List<string>();

string s = "";

SetProgressRange(0, source.Length);

for (int i = 0; i < source.Length; i++)

{

ProgressInc(1);

statistics.syntax_bytes++;

//Ʊ즠󦫳�魢褐- Ĵ欨󦬼

if (separators.IndexOf(source[i]) >= 0)

{

s = prepare_string(s);

//Ʊ즠򳱮랠𐴱󡽠- 󬡭渥䬠棠񡲱�񩣠󺋊 if (s == "") continue;

//Ʊ즠宨򳱮릠��, 󬡲痢 㱿O桢館吝졡�

//Ю촷鳼 롪�颮 򦭠��񭡶鼍

if (s.Length < 2)

{

s = "";

continue;

}

//ɱ묾� 򳱮뱠饠񡲬ﳰ�沫桮򯲲全 ��ꡨ塮宮䬠򬯢� if (s.IndexOf(' ') < 0)

а{

s = "";

continue;

}

syntax_list.Add(s);

s = "";

statistics.syntax_count++;

continue;

}

//Ʊ즠︥񦥭易򩭢褐�򽡯渠󡦬�졭㡢묾� 椮 ࡰᨡﮍ

if ((int)source[i] < 32) continue;

s += source[i];

//ū�, �鮲汴檱 񡢮󡩬 졢�

Thread.Sleep(1);

}//for

}

/// <summary>

/// û𐯫𡲥�󩸥򫩩 ᮠ쩧 󦫱󞋊 /// </summary>

public void AnalizeText()

{

WriteIntoText("Ю央󯣪�櫱󞠩;

/*

//Ԥᬿ檠饠󦫱󞡨 衣אַ㫠 㲥 泌 桤㯩 롢�

while (caption.IndexOf("'") >= 0)

caption = caption.Remove(caption.IndexOf("'"), 1);

while (caption.IndexOf("\"") >= 0)

caption = caption.Remove(caption.IndexOf("\""), 1);

while (source.IndexOf("'") >= 0)

source = source.Remove(source.IndexOf("'"), 1);

while (source.IndexOf("\"") >= 0)

source = source.Remove(source.IndexOf("\""), 1);

*/

WriteIntoText("û𐯫󲽠𐯤묾� „");

// string connection_string = "Provider=SQLOLEDB.1;Source=E-ART-LAPTOP\\SQLEXPRESS;Initial Catalog=adb;Integrated Security=SSPI";

string connection_string = "Provider=SQLOLEDB;Data Source=e-art-laptop\\sqlexpress;Integrated Security=SSPI;Initial Catalog=adb";

OleDbConnection connection = new OleDbConnection(connection_string);

WriteIntoText("û𐯫󲽠㮥򦮨㡲櫱󞡢 „");

CFileWriter.WriteToFile("texts\\" + caption + ".txt", source);

string SQLInsertText = "insert into texts(text, text_caption) values ('files/" + caption + ".txt', '" + caption + "');";

OleDbCommand command = new OleDbCommand(SQLInsertText, connection);

connection.Open();

command.ExecuteNonQuery();

//Ƞ𐴱롥ꡱ⯰ 򳡲鲲髨

timer_statistics.Enabled = true;

WriteIntoText("û𐯫󲽠򩮲᫱鸥򫩩 ıﮠ󦫱󞠩;

parse_syntax(source);

if (File.Exists("syntax.txt")) File.Delete("syntax.txt");

foreach (string s in syntax_list)

{

CFileWriter.WriteToFile("syntax.txt", s + '\n');

}//foreach

}

private void TextOperation_Click(object sender, EventArgs e)

{

}

private void FResult_FormClosing(object sender, FormClosingEventArgs e)

{

Application.Exit();

}

/// <summary>

/// ϡ퀥𡲲᳨򳩪񋈠 /// </summary>

/// <param name="sender"></param>

/// <param name="e"></param>

private void timer1_Tick(object sender, EventArgs e)

{

l_syntax_bytes.Text = statistics.syntax_bytes.ToString();

l_syntax_count.Text = statistics.syntax_count.ToString();

}

}

}

FResult.Designer

namespace app

{

partial class FResult

{

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.IContainer components = null;

/// <summary>

/// Clean up any resources being used.

/// </summary>

/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

protected override void Dispose(bool disposing)

{

if (disposing && (components != null))

{

components.Dispose();

}

base.Dispose(disposing);

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

this.components = new System.ComponentModel.Container();

this.tabControl1 = new System.Windows.Forms.TabControl();

this.tabPage1 = new System.Windows.Forms.TabPage();

this.progress = new System.Windows.Forms.ProgressBar();

this.TextOperation = new System.Windows.Forms.Label();

this.ProgressLog = new System.Windows.Forms.RichTextBox();

this.tabPage3 = new System.Windows.Forms.TabPage();

this.tabPage2 = new System.Windows.Forms.TabPage();

this.groupBox1 = new System.Windows.Forms.GroupBox();

this.label4 = new System.Windows.Forms.Label();

this.label3 = new System.Windows.Forms.Label();

this.label2 = new System.Windows.Forms.Label();

this.label1 = new System.Windows.Forms.Label();

this.label5 = new System.Windows.Forms.Label();

this.label6 = new System.Windows.Forms.Label();

this.timer_statistics = new System.Windows.Forms.Timer(this.components);

this.l_syntax_count = new System.Windows.Forms.Label();

this.l_syntax_bytes = new System.Windows.Forms.Label();

this.tabControl1.SuspendLayout();

this.tabPage1.SuspendLayout();

this.tabPage2.SuspendLayout();

this.groupBox1.SuspendLayout();

this.SuspendLayout();

//

// tabControl1

//

this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)

| System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.tabControl1.Controls.Add(this.tabPage1);

this.tabControl1.Controls.Add(this.tabPage2);

this.tabControl1.Controls.Add(this.tabPage3);

this.tabControl1.Location = new System.Drawing.Point(2, 0);

this.tabControl1.Name = "tabControl1";

this.tabControl1.SelectedIndex = 0;

this.tabControl1.Size = new System.Drawing.Size(442, 295);

this.tabControl1.TabIndex = 0;

//

// tabPage1

//

this.tabPage1.Controls.Add(this.progress);

this.tabPage1.Controls.Add(this.TextOperation);

this.tabPage1.Controls.Add(this.ProgressLog);

this.tabPage1.Location = new System.Drawing.Point(4, 22);

this.tabPage1.Name = "tabPage1";

this.tabPage1.Padding = new System.Windows.Forms.Padding(3);

this.tabPage1.Size = new System.Drawing.Size(434, 269);

this.tabPage1.TabIndex = 0;

this.tabPage1.Text = "а擄沱";

this.tabPage1.UseVisualStyleBackColor = true;

//

// progress

//

this.progress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.progress.Location = new System.Drawing.Point(9, 239);

this.progress.Name = "progress";

this.progress.Size = new System.Drawing.Size(416, 23);

this.progress.Style = System.Windows.Forms.ProgressBarStyle.Continuous;

this.progress.TabIndex = 2;

//

// TextOperation

//

this.TextOperation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));

this.TextOperation.AutoSize = true;

this.TextOperation.Location = new System.Drawing.Point(6, 220);

this.TextOperation.Name = "TextOperation";

this.TextOperation.Size = new System.Drawing.Size(74, 13);

this.TextOperation.TabIndex = 1;

this.TextOperation.Text = "TextOperation";

this.TextOperation.Click += new System.EventHandler(this.TextOperation_Click);

//

// ProgressLog

//

this.ProgressLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)

| System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.ProgressLog.Location = new System.Drawing.Point(3, 3);

this.ProgressLog.Name = "ProgressLog";

this.ProgressLog.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;

this.ProgressLog.Size = new System.Drawing.Size(427, 206);

this.ProgressLog.TabIndex = 0;

this.ProgressLog.Text = "";

//

// tabPage3

//

this.tabPage3.Location = new System.Drawing.Point(4, 22);

this.tabPage3.Name = "tabPage3";

this.tabPage3.Padding = new System.Windows.Forms.Padding(3);

this.tabPage3.Size = new System.Drawing.Size(434, 269);

this.tabPage3.TabIndex = 2;

this.tabPage3.Text = "ѥ贫�;

this.tabPage3.UseVisualStyleBackColor = true;

//

// tabPage2

//

this.tabPage2.Controls.Add(this.groupBox1);

this.tabPage2.Location = new System.Drawing.Point(4, 22);

аthis.tabPage2.Name = "tabPage2";

this.tabPage2.Padding = new System.Windows.Forms.Padding(3);

this.tabPage2.Size = new System.Drawing.Size(434, 269);

this.tabPage2.TabIndex = 1;

this.tabPage2.Text = "ͮ妫�󩲲髠)";

this.tabPage2.UseVisualStyleBackColor = true;

//

// groupBox1

//

this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)

| System.Windows.Forms.AnchorStyles.Left)

| System.Windows.Forms.AnchorStyles.Right)));

this.groupBox1.Controls.Add(this.l_syntax_bytes);

this.groupBox1.Controls.Add(this.l_syntax_count);

this.groupBox1.Controls.Add(this.label6);

this.groupBox1.Controls.Add(this.label5);

this.groupBox1.Controls.Add(this.label4);

this.groupBox1.Controls.Add(this.label3);

this.groupBox1.Controls.Add(this.label2);

this.groupBox1.Controls.Add(this.label1);

this.groupBox1.Location = new System.Drawing.Point(6, 3);

this.groupBox1.Name = "groupBox1";

this.groupBox1.Size = new System.Drawing.Size(425, 263);

this.groupBox1.TabIndex = 0;

this.groupBox1.TabStop = false;

this.groupBox1.Text = "Ҳ᳨򳩪�騠";

//

// label4

//

this.label4.AutoSize = true;

this.label4.Location = new System.Drawing.Point(16, 69);

this.label4.Name = "label4";

this.label4.Size = new System.Drawing.Size(177, 13);

this.label4.TabIndex = 7;

this.label4.Text = "Ю촷殮 򦭠�鳠򤀧槺";

//

// label3

//

this.label3.AutoSize = true;

this.label3.Location = new System.Drawing.Point(16, 56);

this.label3.Name = "label3";

this.label3.Size = new System.Drawing.Size(179, 13);

this.label3.TabIndex = 6;

this.label3.Text = "Ю촷殮 򦭠�鳠즪򦪺";

//

// label2

//

this.label2.AutoSize = true;

this.label2.Location = new System.Drawing.Point(16, 43);

this.label2.Name = "label2";

this.label2.Size = new System.Drawing.Size(297, 13);

this.label2.TabIndex = 5;

this.label2.Text = "ϡ񡢮󡮮 ⡩𡳥벲�鮲᫱鸥򫩬 ᮠ쩧ᳮ񯪺";

//

// label1

//

this.label1.AutoSize = true;

this.label1.Location = new System.Drawing.Point(16, 30);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(183, 13);

this.label1.TabIndex = 4;

this.label1.Text = "Ю촷殮 򩮲᫱鸥򫩵 즪򦪺";

//

// label5

//

this.label5.AutoSize = true;

this.label5.Location = new System.Drawing.Point(16, 82);

this.label5.Name = "label5";

this.label5.Size = new System.Drawing.Size(186, 13);

this.label5.TabIndex = 8;

this.label5.Text = "ˮ�殲 񦤳퀰󦡣񡵠:";

//

// label6

//

this.label6.AutoSize = true;

this.label6.Location = new System.Drawing.Point(16, 95);

this.label6.Name = "label6";

this.label6.Size = new System.Drawing.Size(146, 13);

this.label6.TabIndex = 9;

this.label6.Text = "Ұ業�𐦭�鮻:";

//

// timer_statistics

//

this.timer_statistics.Enabled = true;

this.timer_statistics.Tick += new System.EventHandler(this.timer1_Tick);

//

// l_syntax_count

//

this.l_syntax_count.AutoSize = true;

this.l_syntax_count.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.l_syntax_count.ForeColor = System.Drawing.Color.Black;

this.l_syntax_count.Location = new System.Drawing.Point(319, 30);

this.l_syntax_count.Name = "l_syntax_count";

this.l_syntax_count.Size = new System.Drawing.Size(14, 13);

this.l_syntax_count.TabIndex = 10;

this.l_syntax_count.Text = "0";

this.l_syntax_count.TextAlign = System.Drawing.ContentAlignment.TopRight;

//

// l_syntax_bytes

//

this.l_syntax_bytes.AutoSize = true;

this.l_syntax_bytes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.l_syntax_bytes.ForeColor = System.Drawing.Color.Black;

this.l_syntax_bytes.Location = new System.Drawing.Point(319, 43);

this.l_syntax_bytes.Name = "l_syntax_bytes";

this.l_syntax_bytes.Size = new System.Drawing.Size(14, 13);

this.l_syntax_bytes.TabIndex = 11;

this.l_syntax_bytes.Text = "0";

this.l_syntax_bytes.TextAlign = System.Drawing.ContentAlignment.TopRight;

//

// FResult

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(443, 295);

this.Controls.Add(this.tabControl1);

this.Name = "FResult";

this.Text = "ҥ�󩸥򫩩 ᮠ쩧";

this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FResult_FormClosing);

this.tabControl1.ResumeLayout(false);

this.tabPage1.ResumeLayout(false);

this.tabPage1.PerformLayout();

this.tabPage2.ResumeLayout(false);

this.groupBox1.ResumeLayout(false);

this.groupBox1.PerformLayout();

this.ResumeLayout(false);

}

#endregion

private System.Windows.Forms.TabControl tabControl1;

private System.Windows.Forms.TabPage tabPage1;

private System.Windows.Forms.Label TextOperation;

private System.Windows.Forms.RichTextBox ProgressLog;

private System.Windows.Forms.ProgressBar progress;

private System.Windows.Forms.TabPage tabPage3;

private System.Windows.Forms.TabPage tabPage2;

private System.Windows.Forms.GroupBox groupBox1;

private System.Windows.Forms.Label label4;

private System.Windows.Forms.Label label3;

private System.Windows.Forms.Label label2;

private System.Windows.Forms.Label label1;

private System.Windows.Forms.Label label5;

private System.Windows.Forms.Label label6;

private System.Windows.Forms.Timer timer_statistics;

private System.Windows.Forms.Label l_syntax_count;

private System.Windows.Forms.Label l_syntax_bytes;

}

}

app.csproj

<Project DefaultTargets="Build" xmlns="ссылка более недоступнаdeveloper/msbuild/2003">

<PropertyGroup>

<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

<ProductVersion>8.0.50727</ProductVersion>

<SchemaVersion>2.0</SchemaVersion>

<ProjectGuid>{5D349DC0-9BF0-4A59-B0E5-F619AE1CA587}</ProjectGuid>

<OutputType>WinExe</OutputType>

<AppDesignerFolder>Properties</AppDesignerFolder>

<RootNamespace>app</RootNamespace>

<AssemblyName>app</AssemblyName>

</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

<DebugSymbols>true</DebugSymbols>

<DebugType>full</DebugType>

<Optimize>false</Optimize>

<OutputPath>bin\Debug\</OutputPath>

<DefineConstants>DEBUG;TRACE</DefineConstants>

<ErrorReport>prompt</ErrorReport>

<WarningLevel>4</WarningLevel>

</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">

<DebugType>pdbonly</DebugType>

<Optimize>true</Optimize>

<OutputPath>bin\Release\</OutputPath>

<DefineConstants>TRACE</DefineConstants>

<ErrorReport>prompt</ErrorReport>

<WarningLevel>4</WarningLevel>

</PropertyGroup>

<ItemGroup>

<Reference Include="System" />

<Reference Include="System.Data" />

<Reference Include="System.Deployment" />

<Reference Include="System.Drawing" />

<Reference Include="System.Windows.Forms" />

<Reference Include="System.Xml" />

</ItemGroup>

<ItemGroup>

<Compile Include="adbDataSet.cs">

<DependentUpon>adbDataSet.xsd</DependentUpon>

</Compile>

<Compile Include="adbDataSet.Designer.cs">

<AutoGen>True</AutoGen>

<DesignTime>True</DesignTime>

<DependentUpon>adbDataSet.xsd</DependentUpon>

</Compile>

<Compile Include="CFileReader.cs" />

<Compile Include="CFileWiter.cs" />

<Compile Include="CStatistics.cs" />

<Compile Include="FMain.cs">

<SubType>Form</SubType>

</Compile>

<Compile Include="FMain.Designer.cs">

<DependentUpon>FMain.cs</DependentUpon>

</Compile>

<Compile Include="FResult.cs">

<SubType>Form</SubType>

</Compile>

<Compile Include="FResult.Designer.cs">

<DependentUpon>FResult.cs</DependentUpon>

</Compile>

<Compile Include="Program.cs" />

<Compile Include="Properties\AssemblyInfo.cs" />

<EmbeddedResource Include="FMain.resx">

<SubType>Designer</SubType>

<DependentUpon>FMain.cs</DependentUpon>

</EmbeddedResource>

<EmbeddedResource Include="FResult.resx">

<SubType>Designer</SubType>

<DependentUpon>FResult.cs</DependentUpon>

</EmbeddedResource>

<EmbeddedResource Include="Properties\Resources.resx">

<Generator>ResXFileCodeGenerator</Generator>

<LastGenOutput>Resources.Designer.cs</LastGenOutput>

<SubType>Designer</SubType>

</EmbeddedResource>

<Compile Include="Properties\Resources.Designer.cs">

<AutoGen>True</AutoGen>

<DependentUpon>Resources.resx</DependentUpon>

</Compile>

<None Include="adbDataSet.xsc">

<DependentUpon>adbDataSet.xsd</DependentUpon>

</None>

<None Include="adbDataSet.xsd">

<Generator>MSDataSetGenerator</Generator>

<LastGenOutput>adbDataSet.Designer.cs</LastGenOutput>

<SubType>Designer</SubType>

</None>

<None Include="adbDataSet.xss">

<DependentUpon>adbDataSet.xsd</DependentUpon>

</None>

<None Include="app.config" />

<None Include="ClassDiagram1.cd" />

<None Include="Properties\Settings.settings">

<Generator>SettingsSingleFileGenerator</Generator>

<LastGenOutput>Settings.Designer.cs</LastGenOutput>

</None>

<Compile Include="Properties\Settings.Designer.cs">

<AutoGen>True</AutoGen>

<DependentUpon>Settings.settings</DependentUpon>

<DesignTimeSharedInput>True</DesignTimeSharedInput>

</Compile>

</ItemGroup>

<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

Other similar extension points exist, see Microsoft.Common.targets.

<Target Name="BeforeBuild">

</Target>

<Target Name="AfterBuild">

</Target>

-->

</Project>

adbDataSet.xsd

<?xml version="1.0" encoding="utf-8"?>

<xs:schema id="adbDataSet" targetNamespace="ссылка более недоступнаadbDataSet.xsd" xmlns:mstns="ссылка более недоступнаadbDataSet.xsd" xmlns="ссылка более недоступнаadbDataSet.xsd" xmlns:xs="ссылка более недоступна2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">

<xs:annotation>

<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">

<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">

<Connections>

<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="adbConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="adbConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.app.Properties.Settings.GlobalReference.Default.adbConnectionString" Provider="System.Data.SqlClient">

</Connection>

</Connections>

<Tables>

<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="identitiesTableAdapter" GeneratorDataComponentClassName="identitiesTableAdapter" Name="identities" UserDataComponentName="identitiesTableAdapter">

<MainSource>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="adb.dbo.identities" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">

<InsertCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>INSERT INTO [dbo].[identities] ([identity_name], [identity_weight]) VALUES (@identity_name, @identity_weight)</CommandText>

<Parameters>

<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@identity_name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="identity_name" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@identity_weight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="identity_weight" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

</Parameters>

</DbCommand>

</InsertCommand>

<SelectCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>SELECT identity_id, identity_name, identity_weight FROM dbo.identities</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</SelectCommand>

</DbSource>

</MainSource>

<Mappings>

<Mapping SourceColumn="identity_id" DataSetColumn="identity_id" />

<Mapping SourceColumn="identity_name" DataSetColumn="identity_name" />

<Mapping SourceColumn="identity_weight" DataSetColumn="identity_weight" />

</Mappings>

<Sources>

</Sources>

</TableAdapter>

<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="link_typesTableAdapter" GeneratorDataComponentClassName="link_typesTableAdapter" Name="link_types" UserDataComponentName="link_typesTableAdapter">

<MainSource>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="adb.dbo.link_types" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">

<InsertCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>INSERT INTO [dbo].[link_types] ([link_name]) VALUES (@link_name)</CommandText>

<Parameters>

<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@link_name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="link_name" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

</Parameters>

</DbCommand>

</InsertCommand>

<SelectCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>SELECT link_id, link_name FROM dbo.link_types</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</SelectCommand>

</DbSource>

</MainSource>

<Mappings>

<Mapping SourceColumn="link_id" DataSetColumn="link_id" />

<Mapping SourceColumn="link_name" DataSetColumn="link_name" />

</Mappings>

<Sources>

</Sources>

</TableAdapter>

<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="linksTableAdapter" GeneratorDataComponentClassName="linksTableAdapter" Name="links" UserDataComponentName="linksTableAdapter">

<MainSource>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="adb.dbo.links" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">

<InsertCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>INSERT INTO [dbo].[links] ([link_from], [link_to], [link_weight]) VALUES (@link_from, @link_to, @link_weight)</CommandText>

<Parameters>

<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@link_from" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="link_from" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@link_to" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="link_to" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@link_weight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="link_weight" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

</Parameters>

</DbCommand>

</InsertCommand>

<SelectCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>SELECT link_from, link_to, link_weight FROM dbo.links</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</SelectCommand>

</DbSource>

</MainSource>

<Mappings>

<Mapping SourceColumn="link_from" DataSetColumn="link_from" />

<Mapping SourceColumn="link_to" DataSetColumn="link_to" />

<Mapping SourceColumn="link_weight" DataSetColumn="link_weight" />

</Mappings>

<Sources>

</Sources>

</TableAdapter>

<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="text_identitiesTableAdapter" GeneratorDataComponentClassName="text_identitiesTableAdapter" Name="text_identities" UserDataComponentName="text_identitiesTableAdapter">

<MainSource>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="adb.dbo.text_identities" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">

<InsertCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>INSERT INTO [dbo].[text_identities] ([text_id], [identity_id]) VALUES (@text_id, @identity_id)</CommandText>

<Parameters>

<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@text_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="text_id" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@identity_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="identity_id" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

</Parameters>

</DbCommand>

</InsertCommand>

<SelectCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>SELECT text_id, identity_id FROM dbo.text_identities</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</SelectCommand>

</DbSource>

</MainSource>

<Mappings>

<Mapping SourceColumn="text_id" DataSetColumn="text_id" />

<Mapping SourceColumn="identity_id" DataSetColumn="identity_id" />

</Mappings>

<Sources>

</Sources>

</TableAdapter>

<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="textsTableAdapter" GeneratorDataComponentClassName="textsTableAdapter" Name="texts" UserDataComponentName="textsTableAdapter">

<MainSource>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="adb.dbo.texts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">

<InsertCommand>

а<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>INSERT INTO [dbo].[texts] ([text], [text_caption]) VALUES (@text, @text_caption)</CommandText>

<Parameters>

<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@text" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="text" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@text_caption" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="text_caption" SourceColumnNullMapping="False" SourceVersion="Current">

</Parameter>

</Parameters>

</DbCommand>

</InsertCommand>

<SelectCommand>

<DbCommand CommandType="Text" ModifiedByUser="False">

<CommandText>SELECT text_id, text, text_caption FROM dbo.texts</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</SelectCommand>

</DbSource>

</MainSource>

<Mappings>

<Mapping SourceColumn="text_id" DataSetColumn="text_id" />

<Mapping SourceColumn="text" DataSetColumn="text" />

<Mapping SourceColumn="text_caption" DataSetColumn="text_caption" />

</Mappings>

<Sources>

</Sources>

</TableAdapter>

</Tables>

<Sources>

<DbSource ConnectionRef="adbConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="True" GeneratorSourceName="SQLInsText" MethodsParameterType="CLR" Modifier="Public" Name="SQLInsText" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="SQLInsText">

<InsertCommand>

<DbCommand CommandType="Text" ModifiedByUser="True">

<CommandText>INSERT into texts(text, text_caption) values (:text, :text_caption)</CommandText>

<Parameters>

</Parameters>

</DbCommand>

</InsertCommand>

</DbSource>

</Sources>

</DataSource>

</xs:appinfo>

</xs:annotation>

<xs:element name="adbDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="adbDataSet" msprop:Generator_DataSetName="adbDataSet">

<xs:complexType>

<xs:choice minOccurs="0" maxOccurs="unbounded">

<xs:element name="identities" msprop:Generator_UserTableName="identities" msprop:Generator_RowDeletedName="identitiesRowDeleted" msprop:Generator_RowChangedName="identitiesRowChanged" msprop:Generator_RowClassName="identitiesRow" msprop:Generator_RowChangingName="identitiesRowChanging" msprop:Generator_RowEvArgName="identitiesRowChangeEvent" msprop:Generator_RowEvHandlerName="identitiesRowChangeEventHandler" msprop:Generator_TableClassName="identitiesDataTable" msprop:Generator_TableVarName="tableidentities" msprop:Generator_RowDeletingName="identitiesRowDeleting" msprop:Generator_TablePropName="identities">

<xs:complexType>

<xs:sequence>

<xs:element name="identity_id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="identity_id" msprop:Generator_ColumnVarNameInTable="columnidentity_id" msprop:Generator_ColumnPropNameInRow="identity_id" msprop:Generator_ColumnPropNameInTable="identity_idColumn" type="xs:int" />

<xs:element name="identity_name" msprop:Generator_UserColumnName="identity_name" msprop:Generator_ColumnVarNameInTable="columnidentity_name" msprop:Generator_ColumnPropNameInRow="identity_name" msprop:Generator_ColumnPropNameInTable="identity_nameColumn" minOccurs="0">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="2048" />

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="identity_weight" msprop:Generator_UserColumnName="identity_weight" msprop:Generator_ColumnVarNameInTable="columnidentity_weight" msprop:Generator_ColumnPropNameInRow="identity_weight" msprop:Generator_ColumnPropNameInTable="identity_weightColumn" type="xs:double" minOccurs="0" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="link_types" msprop:Generator_UserTableName="link_types" msprop:Generator_RowDeletedName="link_typesRowDeleted" msprop:Generator_RowChangedName="link_typesRowChanged" msprop:Generator_RowClassName="link_typesRow" msprop:Generator_RowChangingName="link_typesRowChanging" msprop:Generator_RowEvArgName="link_typesRowChangeEvent" msprop:Generator_RowEvHandlerName="link_typesRowChangeEventHandler" msprop:Generator_TableClassName="link_typesDataTable" msprop:Generator_TableVarName="tablelink_types" msprop:Generator_RowDeletingName="link_typesRowDeleting" msprop:Generator_TablePropName="link_types">

<xs:complexType>

<xs:sequence>

<xs:element name="link_id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="link_id" msprop:Generator_ColumnVarNameInTable="columnlink_id" msprop:Generator_ColumnPropNameInRow="link_id" msprop:Generator_ColumnPropNameInTable="link_idColumn" type="xs:int" />

<xs:element name="link_name" msprop:Generator_UserColumnName="link_name" msprop:Generator_ColumnVarNameInTable="columnlink_name" msprop:Generator_ColumnPropNameInRow="link_name" msprop:Generator_ColumnPropNameInTable="link_nameColumn">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="1024" />

</xs:restriction>

</xs:simpleType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="links" msprop:Generator_UserTableName="links" msprop:Generator_RowDeletedName="linksRowDeleted" msprop:Generator_RowChangedName="linksRowChanged" msprop:Generator_RowClassName="linksRow" msprop:Generator_RowChangingName="linksRowChanging" msprop:Generator_RowEvArgName="linksRowChangeEvent" msprop:Generator_RowEvHandlerName="linksRowChangeEventHandler" msprop:Generator_TableClassName="linksDataTable" msprop:Generator_TableVarName="tablelinks" msprop:Generator_RowDeletingName="linksRowDeleting" msprop:Generator_TablePropName="links">

<xs:complexType>

<xs:sequence>

<xs:element name="link_from" msprop:Generator_UserColumnName="link_from" msprop:Generator_ColumnVarNameInTable="columnlink_from" msprop:Generator_ColumnPropNameInRow="link_from" msprop:Generator_ColumnPropNameInTable="link_fromColumn" type="xs:int" />

<xs:element name="link_to" msprop:Generator_UserColumnName="link_to" msprop:Generator_ColumnVarNameInTable="columnlink_to" msprop:Generator_ColumnPropNameInRow="link_to" msprop:Generator_ColumnPropNameInTable="link_toColumn" type="xs:int" />

<xs:element name="link_weight" msprop:Generator_UserColumnName="link_weight" msprop:Generator_ColumnVarNameInTable="columnlink_weight" msprop:Generator_ColumnPropNameInRow="link_weight" msprop:Generator_ColumnPropNameInTable="link_weightColumn" type="xs:double" minOccurs="0" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="text_identities" msprop:Generator_UserTableName="text_identities" msprop:Generator_RowDeletedName="text_identitiesRowDeleted" msprop:Generator_RowChangedName="text_identitiesRowChanged" msprop:Generator_RowClassName="text_identitiesRow" msprop:Generator_RowChangingName="text_identitiesRowChanging" msprop:Generator_RowEvArgName="text_identitiesRowChangeEvent" msprop:Generator_RowEvHandlerName="text_identitiesRowChangeEventHandler" msprop:Generator_TableClassName="text_identitiesDataTable" msprop:Generator_TableVarName="tabletext_identities" msprop:Generator_RowDeletingName="text_identitiesRowDeleting" msprop:Generator_TablePropName="text_identities">

<xs:complexType>

<xs:sequence>

<xs:element name="text_id" msprop:Generator_UserColumnName="text_id" msprop:Generator_ColumnVarNameInTable="columntext_id" msprop:Generator_ColumnPropNameInRow="text_id" msprop:Generator_ColumnPropNameInTable="text_idColumn" type="xs:int" />

<xs:element name="identity_id" msprop:Generator_UserColumnName="identity_id" msprop:Generator_ColumnVarNameInTable="columnidentity_id" msprop:Generator_ColumnPropNameInRow="identity_id" msprop:Generator_ColumnPropNameInTable="identity_idColumn" type="xs:int" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="texts" msprop:Generator_UserTableName="texts" msprop:Generator_RowDeletedName="textsRowDeleted" msprop:Generator_RowChangedName="textsRowChanged" msprop:Generator_RowClassName="textsRow" msprop:Generator_RowChangingName="textsRowChanging" msprop:Generator_RowEvArgName="textsRowChangeEvent" msprop:Generator_RowEvHandlerName="textsRowChangeEventHandler" msprop:Generator_TableClassName="textsDataTable" msprop:Generator_TableVarName="tabletexts" msprop:Generator_RowDeletingName="textsRowDeleting" msprop:Generator_TablePropName="texts">

<xs:complexType>

<xs:sequence>

<xs:element name="text_id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="text_id" msprop:Generator_ColumnVarNameInTable="columntext_id" msprop:Generator_ColumnPropNameInRow="text_id" msprop:Generator_ColumnPropNameInTable="text_idColumn" type="xs:int" />

<xs:element name="text" msprop:Generator_UserColumnName="text" msprop:Generator_ColumnVarNameInTable="columntext" msprop:Generator_ColumnPropNameInRow="text" msprop:Generator_ColumnPropNameInTable="textColumn" minOccurs="0">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="1073741823" />

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="text_caption" msprop:Generator_UserColumnName="text_caption" msprop:Generator_ColumnVarNameInTable="columntext_caption" msprop:Generator_ColumnPropNameInRow="text_caption" msprop:Generator_ColumnPropNameInTable="text_captionColumn" minOccurs="0">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="1024" />

</xs:restriction>

</xs:simpleType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:choice>

</xs:complexType>

</xs:element>

<xs:annotation>

<xs:appinfo>

<msdata:Relationship name="links_link_types" msdata:parent="links" msdata:child="link_types" msdata:parentkey="link_from" msdata:childkey="link_id" msprop:Generator_UserRelationName="links_link_types" msprop:Generator_RelationVarName="relationlinks_link_types" msprop:Generator_UserChildTable="link_types" msprop:Generator_UserParentTable="links" msprop:Generator_ParentPropName="linksRow" msprop:Generator_ChildPropName="Getlink_typesRows" />

<msdata:Relationship name="links_link_types1" msdata:parent="links" msdata:child="link_types" msdata:parentkey="link_to" msdata:childkey="link_id" msprop:Generator_UserRelationName="links_link_types1" msprop:Generator_RelationVarName="relationlinks_link_types1" msprop:Generator_UserChildTable="link_types" msprop:Generator_UserParentTable="links" msprop:Generator_ParentPropName="linksRowBylinks_link_types1" msprop:Generator_ChildPropName="Getlink_typesRowsBylinks_link_types1" />

</xs:appinfo>

</xs:annotation>

</xs:schema>

MODEL_BUILDER

adbDataSet.Designer

#pragma warning disable 1591

namespace model_builder {

using System;

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

[Serializable()]

[System.ComponentModel.DesignerCategoryAttribute("code")]

[System.ComponentModel.ToolboxItem(true)]

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

[System.Xml.Serialization.XmlRootAttribute("adbDataSet")]

[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]

public partial class adbDataSet : System.Data.DataSet {

private identitiesDataTable tableidentities;

private link_typesDataTable tablelink_types;

private linksDataTable tablelinks;

private text_identitiesDataTable tabletext_identities;

private textsDataTable tabletexts;

private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public adbDataSet() {

this.BeginInit();

this.InitClass();

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

base.Tables.CollectionChanged += schemaChangedHandler;

base.Relations.CollectionChanged += schemaChangedHandler;

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base(info, context, false) {

if ((this.IsBinarySerialized(info, context) == true)) {

this.InitVars(false);

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

this.Tables.CollectionChanged += schemaChangedHandler1;

this.Relations.CollectionChanged += schemaChangedHandler1;

return;

}

string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));

if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {

System.Data.DataSet ds = new System.Data.DataSet();

ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));

if ((ds.Tables["identities"] != null)) {

base.Tables.Add(new identitiesDataTable(ds.Tables["identities"]));

}

if ((ds.Tables["link_types"] != null)) {

base.Tables.Add(new link_typesDataTable(ds.Tables["link_types"]));

}

if ((ds.Tables["links"] != null)) {

base.Tables.Add(new linksDataTable(ds.Tables["links"]));

}

if ((ds.Tables["text_identities"] != null)) {

base.Tables.Add(new text_identitiesDataTable(ds.Tables["text_identities"]));

}

if ((ds.Tables["texts"] != null)) {

base.Tables.Add(new textsDataTable(ds.Tables["texts"]));

}

this.DataSetName = ds.DataSetName;

this.Prefix = ds.Prefix;

this.Namespace = ds.Namespace;

this.Locale = ds.Locale;

this.CaseSensitive = ds.CaseSensitive;

this.EnforceConstraints = ds.EnforceConstraints;

this.Merge(ds, false, System.Data.MissingSchemaAction.Add);

this.InitVars();

}

else {

this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));

}

this.GetSerializationData(info, context);

System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);

base.Tables.CollectionChanged += schemaChangedHandler;

this.Relations.CollectionChanged += schemaChangedHandler;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public identitiesDataTable identities {

get {

return this.tableidentities;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public link_typesDataTable link_types {

get {

return this.tablelink_types;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public linksDataTable links {

get {

return this.tablelinks;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public text_identitiesDataTable text_identities {

get {

return this.tabletext_identities;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]

public textsDataTable texts {

get {

return this.tabletexts;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.BrowsableAttribute(true)]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]

public override System.Data.SchemaSerializationMode SchemaSerializationMode {

get {

return this._schemaSerializationMode;

}

аset {

this._schemaSerializationMode = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]

public new System.Data.DataTableCollection Tables {

get {

return base.Tables;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]

public new System.Data.DataRelationCollection Relations {

get {

return base.Relations;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override void InitializeDerivedDataSet() {

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataSet Clone() {

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

cln.InitVars();

cln.SchemaSerializationMode = this.SchemaSerializationMode;

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override bool ShouldSerializeTables() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override bool ShouldSerializeRelations() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {

if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {

this.Reset();

System.Data.DataSet ds = new System.Data.DataSet();

ds.ReadXml(reader);

if ((ds.Tables["identities"] != null)) {

base.Tables.Add(new identitiesDataTable(ds.Tables["identities"]));

}

if ((ds.Tables["link_types"] != null)) {

base.Tables.Add(new link_typesDataTable(ds.Tables["link_types"]));

}

if ((ds.Tables["links"] != null)) {

base.Tables.Add(new linksDataTable(ds.Tables["links"]));

}

if ((ds.Tables["text_identities"] != null)) {

base.Tables.Add(new text_identitiesDataTable(ds.Tables["text_identities"]));

}

if ((ds.Tables["texts"] != null)) {

base.Tables.Add(new textsDataTable(ds.Tables["texts"]));

}

this.DataSetName = ds.DataSetName;

this.Prefix = ds.Prefix;

this.Namespace = ds.Namespace;

this.Locale = ds.Locale;

this.CaseSensitive = ds.CaseSensitive;

this.EnforceConstraints = ds.EnforceConstraints;

this.Merge(ds, false, System.Data.MissingSchemaAction.Add);

this.InitVars();

}

else {

this.ReadXml(reader);

this.InitVars();

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {

System.IO.MemoryStream stream = new System.IO.MemoryStream();

this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));

stream.Position = 0;

return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.InitVars(true);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars(bool initTable) {

this.tableidentities = ((identitiesDataTable)(base.Tables["identities"]));

if ((initTable == true)) {

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

this.tableidentities.InitVars();

}

}

this.tablelink_types = ((link_typesDataTable)(base.Tables["link_types"]));

if ((initTable == true)) {

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

this.tablelink_types.InitVars();

}

}

this.tablelinks = ((linksDataTable)(base.Tables["links"]));

if ((initTable == true)) {

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

this.tablelinks.InitVars();

}

}

this.tabletext_identities = ((text_identitiesDataTable)(base.Tables["text_identities"]));

if ((initTable == true)) {

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

this.tabletext_identities.InitVars();

}

}

this.tabletexts = ((textsDataTable)(base.Tables["texts"]));

if ((initTable == true)) {

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

this.tabletexts.InitVars();

}

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

this.DataSetName = "adbDataSet";

this.Prefix = "";

this.Namespace = "ссылка более недоступнаadbDataSet.xsd";

this.EnforceConstraints = true;

this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;

this.tableidentities = new identitiesDataTable();

base.Tables.Add(this.tableidentities);

this.tablelink_types = new link_typesDataTable();

base.Tables.Add(this.tablelink_types);

this.tablelinks = new linksDataTable();

base.Tables.Add(this.tablelinks);

this.tabletext_identities = new text_identitiesDataTable();

base.Tables.Add(this.tabletext_identities);

this.tabletexts = new textsDataTable();

base.Tables.Add(this.tabletexts);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializeidentities() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializelink_types() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializelinks() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializetext_identities() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private bool ShouldSerializetexts() {

return false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {

if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {

this.InitVars();

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {

adbDataSet ds = new adbDataSet();

System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();

System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();

xs.Add(ds.GetSchemaSerializable());

System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();

any.Namespace = ds.Namespace;

sequence.Items.Add(any);

type.Particle = sequence;

return type;

}

public delegate void identitiesRowChangeEventHandler(object sender, identitiesRowChangeEvent e);

public delegate void link_typesRowChangeEventHandler(object sender, link_typesRowChangeEvent e);

public delegate void linksRowChangeEventHandler(object sender, linksRowChangeEvent e);

public delegate void text_identitiesRowChangeEventHandler(object sender, text_identitiesRowChangeEvent e);

public delegate void textsRowChangeEventHandler(object sender, textsRowChangeEvent e);

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

[System.Serializable()]

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

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

private System.Data.DataColumn columnidentity_id;

private System.Data.DataColumn columnidentity_name;

private System.Data.DataColumn columnidentity_weight;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesDataTable() {

this.TableName = "identities";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal identitiesDataTable(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 identitiesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_idColumn {

get {

return this.columnidentity_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_nameColumn {

get {

return this.columnidentity_name;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_weightColumn {

get {

return this.columnidentity_weight;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow this[int index] {

get {

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

}

}

public event identitiesRowChangeEventHandler identitiesRowChanging;

public event identitiesRowChangeEventHandler identitiesRowChanged;

public event identitiesRowChangeEventHandler identitiesRowDeleting;

public event identitiesRowChangeEventHandler identitiesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void AddidentitiesRow(identitiesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow AddidentitiesRow(string identity_name, double identity_weight) {

identitiesRow rowidentitiesRow = ((identitiesRow)(this.NewRow()));

rowidentitiesRow.ItemArray = new object[] {

null,

identity_name,

identity_weight};

this.Rows.Add(rowidentitiesRow);

return rowidentitiesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new identitiesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columnidentity_id = base.Columns["identity_id"];

this.columnidentity_name = base.Columns["identity_name"];

this.columnidentity_weight = base.Columns["identity_weight"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columnidentity_id);

this.columnidentity_name = new System.Data.DataColumn("identity_name", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columnidentity_name);

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

base.Columns.Add(this.columnidentity_weight);

this.columnidentity_id.AutoIncrement = true;

this.columnidentity_id.AllowDBNull = false;

this.columnidentity_id.ReadOnly = true;

this.columnidentity_name.MaxLength = 2048;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow NewidentitiesRow() {

return ((identitiesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new identitiesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(identitiesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.identitiesRowChanged(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.identitiesRowChanging(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.identitiesRowDeleted(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.identitiesRowDeleting(this, new identitiesRowChangeEvent(((identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void RemoveidentitiesRow(identitiesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "identitiesDataTable";

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 link_typesDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columnlink_id;

private System.Data.DataColumn columnlink_name;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesDataTable() {

this.TableName = "link_types";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal link_typesDataTable(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 link_typesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn link_idColumn {

get {

return this.columnlink_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn link_nameColumn {

get {

return this.columnlink_name;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

а}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow this[int index] {

get {

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

}

}

public event link_typesRowChangeEventHandler link_typesRowChanging;

public event link_typesRowChangeEventHandler link_typesRowChanged;

public event link_typesRowChangeEventHandler link_typesRowDeleting;

public event link_typesRowChangeEventHandler link_typesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Addlink_typesRow(link_typesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Addlink_typesRow(string link_name) {

link_typesRow rowlink_typesRow = ((link_typesRow)(this.NewRow()));

rowlink_typesRow.ItemArray = new object[] {

null,

link_name};

this.Rows.Add(rowlink_typesRow);

return rowlink_typesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new link_typesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columnlink_id = base.Columns["link_id"];

this.columnlink_name = base.Columns["link_name"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columnlink_id);

this.columnlink_name = new System.Data.DataColumn("link_name", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columnlink_name);

this.columnlink_id.AutoIncrement = true;

this.columnlink_id.AllowDBNull = false;

this.columnlink_id.ReadOnly = true;

this.columnlink_name.AllowDBNull = false;

this.columnlink_name.MaxLength = 1024;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Newlink_typesRow() {

return ((link_typesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new link_typesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(link_typesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.link_typesRowChanged(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.link_typesRowChanging(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.link_typesRowDeleted(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.link_typesRowDeleting(this, new link_typesRowChangeEvent(((link_typesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Removelink_typesRow(link_typesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "linksDataTable";

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 text_identitiesDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columntext_id;

private System.Data.DataColumn columnidentity_id;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesDataTable() {

this.TableName = "text_identities";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal text_identitiesDataTable(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 text_identitiesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_idColumn {

get {

return this.columntext_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn identity_idColumn {

get {

return this.columnidentity_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow this[int index] {

get {

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

}

}

public event text_identitiesRowChangeEventHandler text_identitiesRowChanging;

public event text_identitiesRowChangeEventHandler text_identitiesRowChanged;

public event text_identitiesRowChangeEventHandler text_identitiesRowDeleting;

public event text_identitiesRowChangeEventHandler text_identitiesRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Addtext_identitiesRow(text_identitiesRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Addtext_identitiesRow(int text_id, int identity_id) {

text_identitiesRow rowtext_identitiesRow = ((text_identitiesRow)(this.NewRow()));

rowtext_identitiesRow.ItemArray = new object[] {

text_id,

identity_id};

this.Rows.Add(rowtext_identitiesRow);

return rowtext_identitiesRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new text_identitiesDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columntext_id = base.Columns["text_id"];

this.columnidentity_id = base.Columns["identity_id"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columntext_id);

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

base.Columns.Add(this.columnidentity_id);

this.columntext_id.AllowDBNull = false;

this.columnidentity_id.AllowDBNull = false;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Newtext_identitiesRow() {

return ((text_identitiesRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new text_identitiesRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(text_identitiesRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.text_identitiesRowChanged(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.text_identitiesRowChanging(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.text_identitiesRowDeleted(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.text_identitiesRowDeleting(this, new text_identitiesRowChangeEvent(((text_identitiesRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Removetext_identitiesRow(text_identitiesRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "text_identitiesDataTable";

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 textsDataTable : System.Data.DataTable, System.Collections.IEnumerable {

private System.Data.DataColumn columntext_id;

private System.Data.DataColumn columntext;

private System.Data.DataColumn columntext_caption;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsDataTable() {

this.TableName = "texts";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal textsDataTable(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 textsDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_idColumn {

get {

return this.columntext_id;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn textColumn {

get {

return this.columntext;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataColumn text_captionColumn {

get {

return this.columntext_caption;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

[System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow this[int index] {

get {

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

}

}

public event textsRowChangeEventHandler textsRowChanging;

public event textsRowChangeEventHandler textsRowChanged;

public event textsRowChangeEventHandler textsRowDeleting;

public event textsRowChangeEventHandler textsRowDeleted;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void AddtextsRow(textsRow row) {

this.Rows.Add(row);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow AddtextsRow(string text, string text_caption) {

textsRow rowtextsRow = ((textsRow)(this.NewRow()));

rowtextsRow.ItemArray = new object[] {

null,

text,

text_caption};

this.Rows.Add(rowtextsRow);

return rowtextsRow;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public virtual System.Collections.IEnumerator GetEnumerator() {

return this.Rows.GetEnumerator();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public override System.Data.DataTable Clone() {

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

cln.InitVars();

return cln;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Data.DataTable CreateInstance() {

return new textsDataTable();

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal void InitVars() {

this.columntext_id = base.Columns["text_id"];

this.columntext = base.Columns["text"];

this.columntext_caption = base.Columns["text_caption"];

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

private void InitClass() {

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

base.Columns.Add(this.columntext_id);

this.columntext = new System.Data.DataColumn("text", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columntext);

this.columntext_caption = new System.Data.DataColumn("text_caption", typeof(string), null, System.Data.MappingType.Element);

base.Columns.Add(this.columntext_caption);

this.columntext_id.AutoIncrement = true;

this.columntext_id.AllowDBNull = false;

this.columntext_id.ReadOnly = true;

this.columntext.MaxLength = 1073741823;

this.columntext_caption.MaxLength = 1024;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public textsRow NewtextsRow() {

return ((textsRow)(this.NewRow()));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

return new textsRow(builder);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

protected override System.Type GetRowType() {

return typeof(textsRow);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanged(e);

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

this.textsRowChanged(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowChanging(e);

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

this.textsRowChanging(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleted(e);

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

this.textsRowDeleted(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

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

base.OnRowDeleting(e);

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

this.textsRowDeleting(this, new textsRowChangeEvent(((textsRow)(e.Row)), e.Action));

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void RemovetextsRow(textsRow 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());

System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "ссылка более недоступна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 = "textsDataTable";

type.Attributes.Add(attribute2);

type.Particle = sequence;

return type;

}

}

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

public partial class identitiesRow : System.Data.DataRow {

private identitiesDataTable tableidentities;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal identitiesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tableidentities = ((identitiesDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int identity_id {

get {

return ((int)(this[this.tableidentities.identity_idColumn]));

}

set {

this[this.tableidentities.identity_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string identity_name {

get {

try {

return ((string)(this[this.tableidentities.identity_nameColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'identity_name\' in table \'identities\' is DBNull.", e);

}

}

set {

this[this.tableidentities.identity_nameColumn] = value;

а}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public double identity_weight {

get {

try {

return ((double)(this[this.tableidentities.identity_weightColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'identity_weight\' in table \'identities\' is DBNull.", e);

}

}

set {

this[this.tableidentities.identity_weightColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Isidentity_nameNull() {

return this.IsNull(this.tableidentities.identity_nameColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setidentity_nameNull() {

this[this.tableidentities.identity_nameColumn] = System.Convert.DBNull;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Isidentity_weightNull() {

return this.IsNull(this.tableidentities.identity_weightColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setidentity_weightNull() {

this[this.tableidentities.identity_weightColumn] = System.Convert.DBNull;

}

}

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

public partial class link_typesRow : System.Data.DataRow {

private link_typesDataTable tablelink_types;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal link_typesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tablelink_types = ((link_typesDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_id {

get {

return ((int)(this[this.tablelink_types.link_idColumn]));

}

set {

this[this.tablelink_types.link_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string link_name {

get {

return ((string)(this[this.tablelink_types.link_nameColumn]));

}

set {

this[this.tablelink_types.link_nameColumn] = value;

а}

}

}

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

public partial class linksRow : System.Data.DataRow {

private linksDataTable tablelinks;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal linksRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tablelinks = ((linksDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_from {

get {

return ((int)(this[this.tablelinks.link_fromColumn]));

}

set {

this[this.tablelinks.link_fromColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int link_to {

get {

return ((int)(this[this.tablelinks.link_toColumn]));

}

set {

this[this.tablelinks.link_toColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public double link_weight {

get {

try {

return ((double)(this[this.tablelinks.link_weightColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'link_weight\' in table \'links\' is DBNull.", e);

}

}

set {

this[this.tablelinks.link_weightColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Islink_weightNull() {

return this.IsNull(this.tablelinks.link_weightColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Setlink_weightNull() {

this[this.tablelinks.link_weightColumn] = System.Convert.DBNull;

}

}

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

public partial class text_identitiesRow : System.Data.DataRow {

private text_identitiesDataTable tabletext_identities;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal text_identitiesRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tabletext_identities = ((text_identitiesDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int text_id {

get {

return ((int)(this[this.tabletext_identities.text_idColumn]));

}

set {

this[this.tabletext_identities.text_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int identity_id {

get {

return ((int)(this[this.tabletext_identities.identity_idColumn]));

}

set {

this[this.tabletext_identities.identity_idColumn] = value;

}

}

}

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

public partial class textsRow : System.Data.DataRow {

private textsDataTable tabletexts;

а

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

internal textsRow(System.Data.DataRowBuilder rb) :

base(rb) {

this.tabletexts = ((textsDataTable)(this.Table));

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public int text_id {

get {

return ((int)(this[this.tabletexts.text_idColumn]));

}

set {

this[this.tabletexts.text_idColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string text {

get {

try {

return ((string)(this[this.tabletexts.textColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'text\' in table \'texts\' is DBNull.", e);

}

}

set {

this[this.tabletexts.textColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public string text_caption {

get {

try {

return ((string)(this[this.tabletexts.text_captionColumn]));

}

catch (System.InvalidCastException e) {

throw new System.Data.StrongTypingException("The value for column \'text_caption\' in table \'texts\' is DBNull.", e);

}

}

set {

this[this.tabletexts.text_captionColumn] = value;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool IstextNull() {

return this.IsNull(this.tabletexts.textColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void SettextNull() {

this[this.tabletexts.textColumn] = System.Convert.DBNull;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public bool Istext_captionNull() {

return this.IsNull(this.tabletexts.text_captionColumn);

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public void Settext_captionNull() {

this[this.tabletexts.text_captionColumn] = System.Convert.DBNull;

}

}

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

public class identitiesRowChangeEvent : System.EventArgs {

private identitiesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRowChangeEvent(identitiesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public identitiesRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class link_typesRowChangeEvent : System.EventArgs {

private link_typesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRowChangeEvent(link_typesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public link_typesRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class linksRowChangeEvent : System.EventArgs {

private linksRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRowChangeEvent(linksRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public linksRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}

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

public class text_identitiesRowChangeEvent : System.EventArgs {

private text_identitiesRow eventRow;

private System.Data.DataRowAction eventAction;

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRowChangeEvent(text_identitiesRow row, System.Data.DataRowAction action) {

this.eventRow = row;

this.eventAction = action;

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public text_identitiesRow Row {

get {

return this.eventRow;

}

}

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

public System.Data.DataRowAction Action {

get {

return this.eventAction;

}

}

}