<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="RegexDatabaseDataSet" targetNamespace="http://tempuri.org/RegexDatabaseDataSet.xsd" xmlns:mstns="http://tempuri.org/RegexDatabaseDataSet.xsd" xmlns="http://tempuri.org/RegexDatabaseDataSet.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" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="RegexDatabaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="RegexDatabaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApplication9.Properties.Settings.GlobalReference.Default.RegexDatabaseConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegexGroupsTableTableAdapter" GeneratorDataComponentClassName="RegexGroupsTableTableAdapter" Name="RegexGroupsTable" UserDataComponentName="RegexGroupsTableTableAdapter">
<MainSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexGroupsTable" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [RegexGroupsTable] ([GroupName], [GroupID]) VALUES (@p1, @p2)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT GroupName, GroupID FROM RegexGroupsTable</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="GroupName" DataSetColumn="GroupName" />
<Mapping SourceColumn="GroupID" DataSetColumn="GroupID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexGroupsTable" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="GetGroupID" Modifier="Public" Name="GetGroupID" QueryType="Scalar" ScalarCallRetval="System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="GetGroupID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT GroupID
FROM RegexGroupsTable
WHERE (GroupName = @Nam)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="Nam" ColumnName="GroupName" DataSourceName="RegexGroupsTable" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Nam" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexGroupsTable" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetGroupsNames" GetMethodModifier="Public" GetMethodName="GetGroupsNames" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetGroupsNames" UserSourceName="GetGroupsNames">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT GroupName, GroupID FROM RegexGroupsTable</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetMaxID" Modifier="Public" Name="GetMaxID" QueryType="Scalar" ScalarCallRetval="System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="GetMaxID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Max(GroupID) FROM RegexGroupsTable</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNewGroup" Modifier="Public" Name="InsertNewGroup" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertNewGroup">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO RegexGroupsTable
(GroupName, GroupID)
VALUES (@Name,@ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="Name" ColumnName="GroupName" DataSourceName="RegexGroupsTable" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ID" ColumnName="GroupID" DataSourceName="RegexGroupsTable" DataTypeServer="tinyint(1)" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexGroupsTable" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="SelectRegexGroup" Modifier="Public" Name="SelectRegexGroup" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="SelectRegexGroup">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT GroupName, GroupID FROM RegexGroupsTable WHERE (GroupName = @nam)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="nam" ColumnName="GroupName" DataSourceName="RegexGroupsTable" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@nam" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegexExpressionsTableTableAdapter" GeneratorDataComponentClassName="RegexExpressionsTableTableAdapter" Name="RegexExpressionsTable" UserDataComponentName="RegexExpressionsTableTableAdapter">
<MainSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexExpressionsTable" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [RegexExpressionsTable] ([GroupID], [RegexExp]) VALUES (@p1, @p2)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RegexExp" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT [GroupID], [RegexExp] FROM [RegexExpressionsTable]</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="GroupID" DataSetColumn="GroupID" />
<Mapping SourceColumn="RegexExp" DataSetColumn="RegexExp" />
</Mappings>
<Sources>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="RegexExpressionsTable" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetRegexByGroupID" GetMethodModifier="Public" GetMethodName="GetRegexByGroupID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetRegexByGroupID" UserSourceName="GetRegexByGroupID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT RegexExp
FROM RegexExpressionsTable
WHERE (GroupID = @ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="ID" ColumnName="GroupID" DataSourceName="RegexExpressionsTable" DataTypeServer="tinyint(1)" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="RegexDatabaseConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNewRegex" Modifier="Public" Name="InsertNewRegex" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertNewRegex">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO RegexExpressionsTable
(GroupID, RegexExp)
VALUES (@GroudID,@Regex)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="GroudID" ColumnName="GroupID" DataSourceName="RegexExpressionsTable" DataTypeServer="tinyint(1)" DbType="Byte" Direction="Input" ParameterName="@GroudID" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Regex" ColumnName="RegexExp" DataSourceName="RegexExpressionsTable" DataTypeServer="nvarchar(300)" DbType="String" Direction="Input" ParameterName="@Regex" Precision="0" ProviderType="NVarChar" Scale="0" Size="300" SourceColumn="RegexExp" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="RegexDatabaseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="RegexDatabaseDataSet" msprop:Generator_UserDSName="RegexDatabaseDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="RegexGroupsTable" msprop:Generator_TableClassName="RegexGroupsTableDataTable" msprop:Generator_TableVarName="tableRegexGroupsTable" msprop:Generator_TablePropName="RegexGroupsTable" msprop:Generator_RowDeletingName="RegexGroupsTableRowDeleting" msprop:Generator_UserTableName="RegexGroupsTable" msprop:Generator_RowChangingName="RegexGroupsTableRowChanging" msprop:Generator_RowEvHandlerName="RegexGroupsTableRowChangeEventHandler" msprop:Generator_RowDeletedName="RegexGroupsTableRowDeleted" msprop:Generator_RowEvArgName="RegexGroupsTableRowChangeEvent" msprop:Generator_RowChangedName="RegexGroupsTableRowChanged" msprop:Generator_RowClassName="RegexGroupsTableRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn" msprop:Generator_UserColumnName="GroupName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GroupID" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn" msprop:Generator_UserColumnName="GroupID" type="xs:unsignedByte" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegexExpressionsTable" msprop:Generator_TableClassName="RegexExpressionsTableDataTable" msprop:Generator_TableVarName="tableRegexExpressionsTable" msprop:Generator_TablePropName="RegexExpressionsTable" msprop:Generator_RowDeletingName="RegexExpressionsTableRowDeleting" msprop:Generator_UserTableName="RegexExpressionsTable" msprop:Generator_RowChangingName="RegexExpressionsTableRowChanging" msprop:Generator_RowEvHandlerName="RegexExpressionsTableRowChangeEventHandler" msprop:Generator_RowDeletedName="RegexExpressionsTableRowDeleted" msprop:Generator_RowEvArgName="RegexExpressionsTableRowChangeEvent" msprop:Generator_RowChangedName="RegexExpressionsTableRowChanged" msprop:Generator_RowClassName="RegexExpressionsTableRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GroupID" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn" msprop:Generator_UserColumnName="GroupID" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="RegexExp" msprop:Generator_ColumnVarNameInTable="columnRegexExp" msprop:Generator_ColumnPropNameInRow="RegexExp" msprop:Generator_ColumnPropNameInTable="RegexExpColumn" msprop:Generator_UserColumnName="RegexExp" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="300" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>