123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="SewingFactoryDataSet" targetNamespace="http://tempuri.org/SewingFactoryDataSet.xsd" xmlns:mstns="http://tempuri.org/SewingFactoryDataSet.xsd" xmlns="http://tempuri.org/SewingFactoryDataSet.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="SewingFactoryConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SewingFactoryConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Швейная_фабрика.Properties.Settings.GlobalReference.Default.SewingFactoryConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SewingFactoryConnectionString (Settings)" DbObjectName="SewingFactory.dbo.Users" 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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Users] WHERE (([UserID] = @Original_UserID) AND ([Login] = @Original_Login) AND ([Password] = @Original_Password) AND ([RoleID] = @Original_RoleID) AND ([Surname] = @Original_Surname) AND ([Name] = @Original_Name) AND ([Patronymic] = @Original_Patronymic) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Patronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Patronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Users] ([Login], [Password], [RoleID], [Surname], [Name], [Patronymic], [PhoneNumber]) VALUES (@Login, @Password, @RoleID, @Surname, @Name, @Patronymic, @PhoneNumber);
- SELECT UserID, Login, Password, RoleID, Surname, Name, Patronymic, PhoneNumber FROM Users WHERE (UserID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Patronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Patronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT UserID, Login, Password, RoleID, Surname, Name, Patronymic, PhoneNumber FROM dbo.Users</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Users] SET [Login] = @Login, [Password] = @Password, [RoleID] = @RoleID, [Surname] = @Surname, [Name] = @Name, [Patronymic] = @Patronymic, [PhoneNumber] = @PhoneNumber WHERE (([UserID] = @Original_UserID) AND ([Login] = @Original_Login) AND ([Password] = @Original_Password) AND ([RoleID] = @Original_RoleID) AND ([Surname] = @Original_Surname) AND ([Name] = @Original_Name) AND ([Patronymic] = @Original_Patronymic) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)));
- SELECT UserID, Login, Password, RoleID, Surname, Name, Patronymic, PhoneNumber FROM Users WHERE (UserID = @UserID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Patronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Patronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Patronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Patronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="UserID" ColumnName="UserID" DataSourceName="SewingFactory.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
- <Mapping SourceColumn="Login" DataSetColumn="Login" />
- <Mapping SourceColumn="Password" DataSetColumn="Password" />
- <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
- <Mapping SourceColumn="Surname" DataSetColumn="Surname" />
- <Mapping SourceColumn="Name" DataSetColumn="Name" />
- <Mapping SourceColumn="Patronymic" DataSetColumn="Patronymic" />
- <Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ColoursTableAdapter" GeneratorDataComponentClassName="ColoursTableAdapter" Name="Colours" UserDataComponentName="ColoursTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SewingFactoryConnectionString (Settings)" DbObjectName="SewingFactory.dbo.Colours" 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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Colours] WHERE (([ColourID] = @Original_ColourID) AND ((@IsNull_ColourName = 1 AND [ColourName] IS NULL) OR ([ColourName] = @Original_ColourName)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColourName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ColourName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Colours] ([ColourName]) VALUES (@ColourName);
- SELECT ColourID, ColourName FROM Colours WHERE (ColourID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ColourName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT ColourID, ColourName FROM dbo.Colours</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Colours] SET [ColourName] = @ColourName WHERE (([ColourID] = @Original_ColourID) AND ((@IsNull_ColourName = 1 AND [ColourName] IS NULL) OR ([ColourName] = @Original_ColourName)));
- SELECT ColourID, ColourName FROM Colours WHERE (ColourID = @ColourID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ColourName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColourName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ColourName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ColourName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="ColourID" ColumnName="ColourID" DataSourceName="SewingFactory.dbo.Colours" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ColourID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="ColourID" DataSetColumn="ColourID" />
- <Mapping SourceColumn="ColourName" DataSetColumn="ColourName" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TexturesTableAdapter" GeneratorDataComponentClassName="TexturesTableAdapter" Name="Textures" UserDataComponentName="TexturesTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SewingFactoryConnectionString (Settings)" DbObjectName="SewingFactory.dbo.Textures" 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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Textures] WHERE (([TextureID] = @Original_TextureID) AND ([TextureName] = @Original_TextureName) AND ([TextureTypeID] = @Original_TextureTypeID) AND ((@IsNull_ColourID = 1 AND [ColourID] IS NULL) OR ([ColourID] = @Original_ColourID)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_Length = 1 AND [Length] IS NULL) OR ([Length] = @Original_Length)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TextureName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Textures] ([TextureName], [TextureTypeID], [ColourID], [Width], [Length], [Description], [TexturePhoto]) VALUES (@TextureName, @TextureTypeID, @ColourID, @Width, @Length, @Description, @TexturePhoto);
- SELECT TextureID, TextureName, TextureTypeID, ColourID, Width, Length, Description, TexturePhoto FROM Textures WHERE (TextureID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TextureName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@TexturePhoto" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="TexturePhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT TextureID, TextureName, TextureTypeID, ColourID, Width, Length, Description, TexturePhoto FROM dbo.Textures</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Textures] SET [TextureName] = @TextureName, [TextureTypeID] = @TextureTypeID, [ColourID] = @ColourID, [Width] = @Width, [Length] = @Length, [Description] = @Description, [TexturePhoto] = @TexturePhoto WHERE (([TextureID] = @Original_TextureID) AND ([TextureName] = @Original_TextureName) AND ([TextureTypeID] = @Original_TextureTypeID) AND ((@IsNull_ColourID = 1 AND [ColourID] IS NULL) OR ([ColourID] = @Original_ColourID)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_Length = 1 AND [Length] IS NULL) OR ([Length] = @Original_Length)));
- SELECT TextureID, TextureName, TextureTypeID, ColourID, Width, Length, Description, TexturePhoto FROM Textures WHERE (TextureID = @TextureID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TextureName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@TexturePhoto" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="TexturePhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TextureName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColourID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColourID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Length" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="TextureID" ColumnName="TextureID" DataSourceName="SewingFactory.dbo.Textures" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@TextureID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TextureID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="TextureID" DataSetColumn="TextureID" />
- <Mapping SourceColumn="TextureName" DataSetColumn="TextureName" />
- <Mapping SourceColumn="TextureTypeID" DataSetColumn="TextureTypeID" />
- <Mapping SourceColumn="ColourID" DataSetColumn="ColourID" />
- <Mapping SourceColumn="Width" DataSetColumn="Width" />
- <Mapping SourceColumn="Length" DataSetColumn="Length" />
- <Mapping SourceColumn="Description" DataSetColumn="Description" />
- <Mapping SourceColumn="TexturePhoto" DataSetColumn="TexturePhoto" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TextureTypeTableAdapter" GeneratorDataComponentClassName="TextureTypeTableAdapter" Name="TextureType" UserDataComponentName="TextureTypeTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SewingFactoryConnectionString (Settings)" DbObjectName="SewingFactory.dbo.TextureType" 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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[TextureType] WHERE (([TextureTypeID] = @Original_TextureTypeID) AND ((@IsNull_TextureTypeName = 1 AND [TextureTypeName] IS NULL) OR ([TextureTypeName] = @Original_TextureTypeName)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TextureTypeName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TextureTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[TextureType] ([TextureTypeName]) VALUES (@TextureTypeName);
- SELECT TextureTypeID, TextureTypeName FROM TextureType WHERE (TextureTypeID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TextureTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT TextureTypeID, TextureTypeName FROM dbo.TextureType</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[TextureType] SET [TextureTypeName] = @TextureTypeName WHERE (([TextureTypeID] = @Original_TextureTypeID) AND ((@IsNull_TextureTypeName = 1 AND [TextureTypeName] IS NULL) OR ([TextureTypeName] = @Original_TextureTypeName)));
- SELECT TextureTypeID, TextureTypeName FROM TextureType WHERE (TextureTypeID = @TextureTypeID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TextureTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TextureTypeName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TextureTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TextureTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="TextureTypeID" ColumnName="TextureTypeID" DataSourceName="SewingFactory.dbo.TextureType" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@TextureTypeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TextureTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="TextureTypeID" DataSetColumn="TextureTypeID" />
- <Mapping SourceColumn="TextureTypeName" DataSetColumn="TextureTypeName" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="SewingFactoryDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="SewingFactoryDataSet" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="SewingFactoryDataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Users" msprop:Generator_RowClassName="UsersRow" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_TablePropName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="UserID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" type="xs:int" />
- <xs:element name="Login" msprop:Generator_UserColumnName="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnVarNameInTable="columnLogin">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Password" msprop:Generator_UserColumnName="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnVarNameInTable="columnPassword">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="RoleID" msprop:Generator_UserColumnName="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnVarNameInTable="columnRoleID" type="xs:int" />
- <xs:element name="Surname" msprop:Generator_UserColumnName="Surname" msprop:Generator_ColumnPropNameInTable="SurnameColumn" msprop:Generator_ColumnPropNameInRow="Surname" msprop:Generator_ColumnVarNameInTable="columnSurname">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Patronymic" msprop:Generator_UserColumnName="Patronymic" msprop:Generator_ColumnPropNameInTable="PatronymicColumn" msprop:Generator_ColumnPropNameInRow="Patronymic" msprop:Generator_ColumnVarNameInTable="columnPatronymic">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="PhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="18" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Colours" msprop:Generator_RowEvHandlerName="ColoursRowChangeEventHandler" msprop:Generator_RowDeletedName="ColoursRowDeleted" msprop:Generator_RowDeletingName="ColoursRowDeleting" msprop:Generator_RowEvArgName="ColoursRowChangeEvent" msprop:Generator_TablePropName="Colours" msprop:Generator_RowChangedName="ColoursRowChanged" msprop:Generator_RowChangingName="ColoursRowChanging" msprop:Generator_TableClassName="ColoursDataTable" msprop:Generator_RowClassName="ColoursRow" msprop:Generator_TableVarName="tableColours" msprop:Generator_UserTableName="Colours">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ColourID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="ColourID" msprop:Generator_ColumnPropNameInTable="ColourIDColumn" msprop:Generator_ColumnVarNameInTable="columnColourID" msprop:Generator_UserColumnName="ColourID" type="xs:int" />
- <xs:element name="ColourName" msprop:Generator_ColumnPropNameInRow="ColourName" msprop:Generator_ColumnPropNameInTable="ColourNameColumn" msprop:Generator_ColumnVarNameInTable="columnColourName" msprop:Generator_UserColumnName="ColourName" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Textures" msprop:Generator_RowEvHandlerName="TexturesRowChangeEventHandler" msprop:Generator_RowDeletedName="TexturesRowDeleted" msprop:Generator_RowDeletingName="TexturesRowDeleting" msprop:Generator_RowEvArgName="TexturesRowChangeEvent" msprop:Generator_TablePropName="Textures" msprop:Generator_RowChangedName="TexturesRowChanged" msprop:Generator_RowChangingName="TexturesRowChanging" msprop:Generator_TableClassName="TexturesDataTable" msprop:Generator_RowClassName="TexturesRow" msprop:Generator_TableVarName="tableTextures" msprop:Generator_UserTableName="Textures">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="TextureID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="TextureID" msprop:Generator_ColumnPropNameInTable="TextureIDColumn" msprop:Generator_ColumnVarNameInTable="columnTextureID" msprop:Generator_UserColumnName="TextureID" type="xs:int" />
- <xs:element name="TextureName" msprop:Generator_ColumnPropNameInRow="TextureName" msprop:Generator_ColumnPropNameInTable="TextureNameColumn" msprop:Generator_ColumnVarNameInTable="columnTextureName" msprop:Generator_UserColumnName="TextureName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="TextureTypeID" msprop:Generator_ColumnPropNameInRow="TextureTypeID" msprop:Generator_ColumnPropNameInTable="TextureTypeIDColumn" msprop:Generator_ColumnVarNameInTable="columnTextureTypeID" msprop:Generator_UserColumnName="TextureTypeID" type="xs:int" />
- <xs:element name="ColourID" msprop:Generator_ColumnPropNameInRow="ColourID" msprop:Generator_ColumnPropNameInTable="ColourIDColumn" msprop:Generator_ColumnVarNameInTable="columnColourID" msprop:Generator_UserColumnName="ColourID" type="xs:int" minOccurs="0" />
- <xs:element name="Width" msprop:Generator_ColumnPropNameInRow="Width" msprop:Generator_ColumnPropNameInTable="WidthColumn" msprop:Generator_ColumnVarNameInTable="columnWidth" msprop:Generator_UserColumnName="Width" type="xs:int" minOccurs="0" />
- <xs:element name="Length" msprop:Generator_ColumnPropNameInRow="Length" msprop:Generator_ColumnPropNameInTable="LengthColumn" msprop:Generator_ColumnVarNameInTable="columnLength" msprop:Generator_UserColumnName="Length" type="xs:int" minOccurs="0" />
- <xs:element name="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_UserColumnName="Description" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="TexturePhoto" msprop:Generator_ColumnPropNameInRow="TexturePhoto" msprop:Generator_ColumnPropNameInTable="TexturePhotoColumn" msprop:Generator_ColumnVarNameInTable="columnTexturePhoto" msprop:Generator_UserColumnName="TexturePhoto" type="xs:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="TextureType" msprop:Generator_RowEvHandlerName="TextureTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="TextureTypeRowDeleted" msprop:Generator_RowDeletingName="TextureTypeRowDeleting" msprop:Generator_RowEvArgName="TextureTypeRowChangeEvent" msprop:Generator_TablePropName="TextureType" msprop:Generator_RowChangedName="TextureTypeRowChanged" msprop:Generator_RowChangingName="TextureTypeRowChanging" msprop:Generator_TableClassName="TextureTypeDataTable" msprop:Generator_RowClassName="TextureTypeRow" msprop:Generator_TableVarName="tableTextureType" msprop:Generator_UserTableName="TextureType">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="TextureTypeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="TextureTypeID" msprop:Generator_ColumnPropNameInTable="TextureTypeIDColumn" msprop:Generator_ColumnVarNameInTable="columnTextureTypeID" msprop:Generator_UserColumnName="TextureTypeID" type="xs:int" />
- <xs:element name="TextureTypeName" msprop:Generator_ColumnPropNameInRow="TextureTypeName" msprop:Generator_ColumnPropNameInTable="TextureTypeNameColumn" msprop:Generator_ColumnVarNameInTable="columnTextureTypeName" msprop:Generator_UserColumnName="TextureTypeName" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Users" />
- <xs:field xpath="mstns:UserID" />
- </xs:unique>
- <xs:unique name="Colours_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Colours" />
- <xs:field xpath="mstns:ColourID" />
- </xs:unique>
- <xs:unique name="Textures_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Textures" />
- <xs:field xpath="mstns:TextureID" />
- </xs:unique>
- <xs:unique name="TextureType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:TextureType" />
- <xs:field xpath="mstns:TextureTypeID" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Textures_TextureType" msdata:parent="TextureType" msdata:child="Textures" msdata:parentkey="TextureTypeID" msdata:childkey="TextureTypeID" msprop:Generator_UserParentTable="TextureType" msprop:Generator_UserChildTable="Textures" msprop:Generator_RelationVarName="relationFK_Textures_TextureType" msprop:Generator_UserRelationName="FK_Textures_TextureType" msprop:Generator_ChildPropName="GetTexturesRows" msprop:Generator_ParentPropName="TextureTypeRow" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|