5.
|
identitiesTableAdapter
|
Средство
типа TableAdapter
для доступа данным семантических лексем
|
6.
|
linksTableAdapter
|
Средство
типа TableAdapter
для доступа к данным семантических связей
|
7.
|
Program
|
Элемент,
с которого начинается выполнение приложение. Содержит инструкции по созданию
элементов интерфейса и инициализации системы
|
8.
|
QueriesTableAdapter
|
Средство
типа TableAdapter,
позволяющее выполнять запросы к данным семантических моделей
|
9.
|
Resources
|
Класс,
содержащий идентификацию ресурсов, используемых в системе
|
10.
|
Settings
|
Класс,
содержащий информацию о конфигурации системы
|
11.
|
Text_identitiesTableAdapter
|
Средство
типа TableAdapter
для доступа к данным связей тестов и принадлежащих им семантическим лексемам
|
12.
|
TextsTableAdapter
|
Средство
типа TableAdapter
для доступа к данным о проанализированных текстах
|
Продолжение
таблицы 4.2
Link_typesTableAdapter
|
Средство
типа TableAdapter
для доступа к данным о типах семантических связей
|
14.
|
CStatistics
|
Класс
содержит только публичные поля (фактически является структурой), которые
хранят данные о статистике ведения вычислений
|
Все
классы объявлены в рамках пространства имен app.
Классы
CfileReader
и CfileWriter являются статическими.
Тестирование
системы выполнялось в соответствии с двумя подходами:
·
Тестирование корректности работы логики работы
системы;
·
Нагрузочное тестирование;
·
Тестирование модулей системы
Тестирование
модулей системы выполнялось следующим образом:
·
Для каждого метода класса, который потенциально
может иметь блоки, работающее некорректно либо не соответствующие логике работы
системы, формировался набор тестов, имеющих характер наиболее вероятных
значений параметров, при которых будет работать система, а также набор
граничных тестовых данных.
·
Создавался экземпляр класса в рамках параллельно
объявленного пространства имен;
·
Выполнялось тестирование на данных,
подготовленных на предыдущих шагах. Если выявлялось несоответствие, то модуль
дорабатывался либо корректировались формальные ограничения на характер данных
4.4.2. Тестирование корректности работы логики
системы
Тестирование
корректности работы логики системы производилось в соотвествии с небольшим
объемом данных, результат анализа которых в соотвествии в приведенными в работе
алгоритмами заранее известен.
Тестировалась
логика работы на текстах которые:
·
целиком эквивалентны образцам;
·
являются переводом на иностранный язык
(предварительно заполнялся словарь соответствующими данными о правилах перевода
конкретных выражений);
·
некоторые слова заменены на синонимы
4.4.3. Нагрузочное
тестирование
Нагрузочное
тестирование проводилось на базе документов сервера referat.ru.
Тестирование
представляло собой проверку корректности работы на больших объемах даннях.
В
результате тестирование было выявлено, что:
·
Вывод, полученный в результате анализа обычно
соотвествовал реальному, однако степень заимствования не всегда соответствовала
реальной.
Это объясняется тем, что синтаксический и лексический разбор на сложных
языковых конструкциях не всегда позволяет точно определить основное и зависимое
слово в предложении
·
Скорость работы системы не всегда была
приемлемой.
Это является еще одним аргументом в пользу того, что следует исследовать
возможности оптимизации алгоритма установления изоморфности графов;
Качество
анализа текста с использованием механизмов семантических технологий, а также
объем вычислительных ресурсов, затрачиваемых для выполнения анализа, в
значительной степени зависит от алгоритмической базы, используемой в проекте. Соответственно,
в качестве направления развития проекта в данной работе предполагается
максимально оптимизировать алгоритмы, для выполнения которых требуется
наибольший объем вычислительных ресурсов.
В
настоящий момент механизмы, предполагающие повсеместное использование
технологий, реализующих механизмы нечеткого анализа материалов, представляемых
человеком естественным для него образом, являются очень перспективными.
Подходы,
предложенные в рамках теории анализа естественных объектов на базе
семантических технологий, могут быть использованы практически во всех
прикладных направлениях.
В
настоящий момент наиболее развитым в этом плане процессом является попытка
внедрения семантических сетей.
Для
хранения данных, имеющих характер семантических моделей, существуют формально
определенные правила и форматы, однако четкого формального набора правил,
который позволил бы аналитически описывать поведение объектов семантического характера
(в данной работе было принято решение называть эти правила и определения
семантической алгеброй) на данный момент не существует, хотя при использовании
семантических моделей в различных предметных областях и их связях формальные
аналитические правила могут оказаться полезными.
Алгебра
семантических объектов в основном основывается на элементах дискретной
математики, преимущественно на теории графов, но имеет ряд существенных
особенностей:
1.
Задача анализа любых объектов естественной
природы является, как правило, задачей нечеткого анализа. Для того чтобы
обеспечить анализ моделей таких объектов потребуется во все элементы объектов
включать дополнительные данные – предположительная степень соответствия
оригиналу. Во всех алгоритмах и правилах, позволяющих делать определенные
выводы, обязательно должны использоваться эти величины. Данный подход требует,
чтобы классическая теория графов, которая предполагает, что ее объектам могут
быть сопоставлены определенные значения – веса, была некоторым образом модифицирована.
2. В
соответствии с классической теорией графов, представление объектов, имеющих
графовую структуру, в вычислительной технике принято выполнять в виде:
a.
матрицы смежности;
b.
таблицы инцидентности
Оба
этих представления строятся в виде матрицы, элементами которой являются веса
вершин. Для представления структур семантического характера потребуется
использовать более сложные структуры с большим числом измерений. В данной
работе предлагается использовать для определения семантических моделей
3х-мерные кубы, которые строятся так, как это показано на рис. 5.1
Рис. 5.1. Многомерное
представление графа
Если
граф задан в виде матрицы A:
, (5.1)
Тогда
величина x характеризует k-ый
вес ребра от вершины i к вершине j.
Если
между вершинами i и j ребра не существует, то значение x принимается равным бесконечности.
В
качестве измерений j могут
использоваться различные показатели, например:
·
Уровень соответствия значения вершины оригиналу;
·
Уровень достоверности информации, представляемой
связью;
·
Уровень соответствия предметной области;
·
Значения, вычисляемые на этапах работы
алгоритмов – отдаленность от ключевой вершины, глубина рекурсии и др.
В
данной работе величина k=2. Измерения определяют
следующие параметры:
·
Степень соответствия вершины оригиналу (для i=j);
·
Степень соответствия связи оригиналу (для i<>j)
Следует
отметить, что в случае использования данной схемы будут доступны дополнительные
возможности анализа данных, представляющих семантическую модель на базе многомерного
анализа, например, на базе технологии OLAP.
3.
Алгоритмы классической теории графов могут быть
применены, однако требуется их модификация с целью оптимизации объема требуемых
вычислительных ресурсов.
Задача
корректной формализации является очень важной подзадачей при анализе текстов на
наличие заимствований, поскольку если окажется, что текст формализован не
корректно - то все выводы, сделанные на основе формальной модели нельзя считать
достоверными.
Задача
формализации текстов, представленных на естественном языке, решается на базе
алгоритмов лексического и синтаксического анализа. Целью данного анализа
является выявление пар выражений, представляющих собой зависящее и основное
выражение. На основе выявления этих пар и степени связи между ними формируется
формальная модель текстов.
Технически
алгоритмы лексического и синтаксического разбора очень похожи на те, которые
используются в системах автоматизированного перевода.
В
данной работе основа лексического и синтаксического разбора базируется на
элементах теории разбора славянских языков Карпова.
Оптимизация
работы алгоритма, а также улучшение качества его работы возможно за счет
использования значительно большего количества правил разбора текстов согласно
теории Карпова.
Для
улучшения качества разбора возможно также привлечение базы научной информации,
имеющей отношение к филологическим наукам.
Функциональность
системы может быть существенно расширена за счет применения механизмов разбора
нескольких языковых групп.
Задача
оптимизации работы алгоритмов, имеющих характер, схожий с задачей анализа
изоморфности является актуальной не только для задачи автоматизированного
осмысленного анализа текстов, представленных на естественных языках. Результаты
оптимизации могут быть использованы также в очень большом количестве прикладных
направлений.
С
точки зрения алгоритмов семантического анализа текстов, представленных на
естественном языке, наиболее критичным ресурсом является процессорное время.
Классическое
алгоритмы анализа изоморфности имеют оценку алгоритма, представленную в виде
очень быстрорастущих функций, что в значительной степени ограничивает
возможность их применения при анализе данных большого объема.
Существуют
определенные улучшения данного алгоритма, которые позволят оптимизировать его,
если заранее известен характер анализируемых данных, однако в общем случае
сложность алгоритма все равно эквивалентна сложности алгоритмов полного
перебора.
В
рамках данной работы существенно уменьшить время, требуемое на выполнения
анализа возможно путем реализации проблемно-ориентированных оптимизаций,
описанных в разделе, посвященном анализу изоморфности графов данной работы.
Наиболее
оптимальный выигрыш в производительности возможно получить на базе алгоритма
внедрения нитей в граф, однако разработка и реализация данного алгоритма
представляет собой составной процесс и может рассматриваться в рамках
отдельного исследования.
Поскольку
работа предполагает использование достаточно больших объемов данных, то возможно
выполнить значительную оптимизацию, если эффективно организовать процессы
обмена данными между СУБД и приложением.
Одним
из перспективных направлений в рамках данной работы может считаться
использование средств XML-схем на базе системы
управления базами данных Microsoft SQL Server
2005.
Под
параллелизаций в данной работе понимается возможность распределения ряда
наиболее требовательных алгоритмов на несколько вычислительных узлов таким
образом, чтобы процесс вычислений выполнялся одновременно на нескольких
вычислительных узлах.
Среди
основных вычислительных процессов, которые могут поддаваться эффективной параллелизации,
можно выделить следующие:
1.
Параллелизация хранилищ данных и средств их
обработки. Предполагается, что информация, представленная в виде семантических
моделей, и представляющая собой образцы предположительно оригинальных
источников может быть разделена в рамках предметных областей. Информация,
соответствующая определенной предметной области должна помещаться и
обрабатываться на базе отдельного вычислительного узла;
2.
Алгоритмы нечеткого выделения компонент графа
могут быть рекурсивно распределены на несколько вычислительных узлов поблочно. Если
одно из измерений куба, представляющего собой модель семантического характера,
будет выделено для хранения информации о достижимости других узлов, то в таком
случае процессы выделения максимальных компонент возможно запускать независимо
друг от друга от вершин, имеющих разное значение индекса связности.
3.
Алгоритмы определения изоморфности графов.
Параллелизация данных алгоритмов возможна путем разделения вычислительных поток
на несколько логических блоков:
a. Вычислительные
блоки;
b. Блоки
опережающего анализа
Вычислительные
блоки разделяются по применяемым алгоритмам и выполняются, по возможности,
параллельно на нескольких вычислительных узлах, а блоки опережающего анализа
выполняют анализ характеристик фрагментов графов, которые должны быть
рассмотрены в ближайшее время, выполняют их анализ с целью определения наиболее
подходящей для данного фрагмента оптимизации алгоритма.
4. Формирование
оптимальных схем анализа характеристик графа и выделения информации,
используемой для выбора наиболее подходящих оптимизаций алгоритма.
5.
Алгоритмы синтаксического и лексического
разбора.
Данная задача является очень хорошо параллезируемой, поскольку может быть
разбита на несколько независимых блоков, анализ которых может выполняться параллельно
на нескольких вычислительных узлах. В качестве таких блоков могут
использоваться, например, предложения или абзацы исходного текста.
В
качестве основных возможностей развития проекта в данной работе выделяются
исследования, направленные на оптимизацию алгоритмов, требующих наибольшее
количество вычислительных ресурсов, а также расширение функциональности системы
В
ходе выполнения аттестационной работы магистра была исследована различные
подходы к решению задачи анализа текстов на наличие заимствований, цитирований
и плагиата. средства, позволяющие вести
рассмотрение текста на базе моделей, представляющих собой форматизированные
представления исходных текстов.
Среди
рассмотренных методов были выделены:
1.
Анализ экспертом в предметной области;
2.
Анализ на базе релевантностей;
3.
Анализ на базе систем семантического анализа
Было
установлено, что метод поиска ключевых слов (метод релевантностей) является
весьма эффективным, если предполагается, что текст, представленный на естественном
языке, содержит фрагменты полного заимствования (т.е. элементы, которые были
целиком скопированы из публичных источников).
Однако,
если предполагается, что текст содержит элементы заимствования, но оригинал был
модифицирован некоторым образом, и при этом смысловая нагрузка текста осталась
неизменной или менялась незначительно, то в таком случае качество результатов,
полученных после анализа на базе релевантностей, может оказаться
неудовлетворительным.
В
таком случае в данной работе предлагается использовать технологии, основанные
на базе систем осмысленного анализа.
В
системах осмысленного анализа предлагается перед выполнением анализа текстов
предварительно формировать некоторую формальную модель этих текстов, отражающую
их смысловую нагрузку, затем выделять основной смысл текстов, а затем выполнять
сравнение этих моделей.
Для
формализации текстов, представленных на естественном языке, используется
лексический и синтаксический разбор по набору правил из теории разбора
славянских языков Карпова.
Для
получения основного смысла текста, представленного на естественном языке,
используется механизм нечеткого выделения компонент графа, модифицированный с
учетом особенностей решаемой проблемы.
Для
установления факта заимствований используется модифицированный алгоритм
установления изоморфности графов, для которого предполагается выполнять
проблемно-ориентированные оптимизации.
В
процессе выполнения работы был определен ряд правил и определений, применимых
для оперирования с семантическими моделями. Совокупность этих правил и
определений в данной работе было предложено назвать элементами семантической
алгебры.
Данная
работа может быть использована везде, где задача осмысленного анализа текстов,
представленных на естественном языке, с целью выявления заимствований является
актуальной.
Элементы
работы могут быть использованы при разработках и исследованиях направлений,
имеющих отношение к анализу естественных сущностей на базе метода построения
семантических моделей.
1.
Лебедев
И. С. Принципы обработки естественно-языковых запросов в системах
лингвистического обеспечения //Электронный журнал «Исследовано в России» ПРИЛОЖЕНИЯ
ПРИЛОЖЕНИЕ А
Исходный текст 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;
}
}
}
Приложение Д
Список ссылок “по буквам” Викисловаря
http://ru.wiktionary.org/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 = "http://tempuri.org/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;
}
}
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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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());
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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();
}
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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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);
}
}
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 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;
}
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.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++)
{
//û檠쩸 כּ
Ḡ죍
while (tmp.IndexOf(symbols[i]) == 0)
{
tmp = tmp.Remove(0, 1);
flag = true;
}//while ' '
//û檠쩸 כּ
ࡪ﮶㋊ 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>
/// <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;
//Ʊ즠宨릠�, 痢 㱿⮫桢館吝졡�
//Ю촷鳼 롪�颮 ��鼍
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.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="http://schemas.microsoft.com/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="http://tempuri.org/adbDataSet.xsd"
xmlns:mstns="http://tempuri.org/adbDataSet.xsd"
xmlns="http://tempuri.org/adbDataSet.xsd"
xmlns:xs="http://www.w3.org/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: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 = "http://tempuri.org/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() {
}
[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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents =
System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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()]
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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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 = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new
System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "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;
}
}
}