groupsOperDataSet.xsd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="groupsOperDataSet" targetNamespace="http://tempuri.org/groupsOperDataSet.xsd" xmlns:mstns="http://tempuri.org/groupsOperDataSet.xsd" xmlns="http://tempuri.org/groupsOperDataSet.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">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="courseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="courseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Course_Project.Properties.Settings.GlobalReference.Default.courseConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GroupsTableAdapter" GeneratorDataComponentClassName="GroupsTableAdapter" Name="Groups" UserDataComponentName="GroupsTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="courseConnectionString (Settings)" DbObjectName="course.dbo.Groups" 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">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [Groups] WHERE (([Title] = @Original_Title) AND ([Curator] = @Original_Curator) AND ([SpecialtyID] = @Original_SpecialtyID) AND ([GroupID] = @Original_GroupID))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Curator" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Curator" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SpecialtyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialtyID" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Original" />
  21. </Parameters>
  22. </DbCommand>
  23. </DeleteCommand>
  24. <InsertCommand>
  25. <DbCommand CommandType="Text" ModifiedByUser="false">
  26. <CommandText>INSERT INTO [Groups] ([Title], [Curator], [SpecialtyID]) VALUES (@Title, @Curator, @SpecialtyID);
  27. SELECT Title, Curator, SpecialtyID, GroupID FROM Groups WHERE (GroupID = SCOPE_IDENTITY())</CommandText>
  28. <Parameters>
  29. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  30. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Curator" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Curator" SourceColumnNullMapping="false" SourceVersion="Current" />
  31. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SpecialtyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialtyID" SourceColumnNullMapping="false" SourceVersion="Current" />
  32. </Parameters>
  33. </DbCommand>
  34. </InsertCommand>
  35. <SelectCommand>
  36. <DbCommand CommandType="Text" ModifiedByUser="false">
  37. <CommandText>SELECT Title, Curator, SpecialtyID, GroupID FROM Groups</CommandText>
  38. <Parameters />
  39. </DbCommand>
  40. </SelectCommand>
  41. <UpdateCommand>
  42. <DbCommand CommandType="Text" ModifiedByUser="false">
  43. <CommandText>UPDATE [Groups] SET [Title] = @Title, [Curator] = @Curator, [SpecialtyID] = @SpecialtyID WHERE (([Title] = @Original_Title) AND ([Curator] = @Original_Curator) AND ([SpecialtyID] = @Original_SpecialtyID) AND ([GroupID] = @Original_GroupID));
  44. SELECT Title, Curator, SpecialtyID, GroupID FROM Groups WHERE (GroupID = @GroupID)</CommandText>
  45. <Parameters>
  46. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  47. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Curator" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Curator" SourceColumnNullMapping="false" SourceVersion="Current" />
  48. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SpecialtyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialtyID" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  50. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Curator" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Curator" SourceColumnNullMapping="false" SourceVersion="Original" />
  51. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SpecialtyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialtyID" SourceColumnNullMapping="false" SourceVersion="Original" />
  52. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Original" />
  53. <Parameter AllowDbNull="false" AutogeneratedName="GroupID" ColumnName="GroupID" DataSourceName="course.dbo.Groups" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@GroupID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
  54. </Parameters>
  55. </DbCommand>
  56. </UpdateCommand>
  57. </DbSource>
  58. </MainSource>
  59. <Mappings>
  60. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  61. <Mapping SourceColumn="Curator" DataSetColumn="Curator" />
  62. <Mapping SourceColumn="SpecialtyID" DataSetColumn="SpecialtyID" />
  63. <Mapping SourceColumn="GroupID" DataSetColumn="GroupID" />
  64. </Mappings>
  65. <Sources />
  66. </TableAdapter>
  67. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Специальность ГруппыTableAdapter" GeneratorDataComponentClassName="Специальность_ГруппыTableAdapter" Name="Специальность Группы" UserDataComponentName="Специальность ГруппыTableAdapter">
  68. <MainSource>
  69. <DbSource ConnectionRef="courseConnectionString (Settings)" DbObjectName="course.dbo.[Специальность Группы]" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  70. <SelectCommand>
  71. <DbCommand CommandType="Text" ModifiedByUser="false">
  72. <CommandText>SELECT группа, спец, Curator FROM dbo.[Специальность Группы]</CommandText>
  73. <Parameters />
  74. </DbCommand>
  75. </SelectCommand>
  76. </DbSource>
  77. </MainSource>
  78. <Mappings>
  79. <Mapping SourceColumn="группа" DataSetColumn="группа" />
  80. <Mapping SourceColumn="спец" DataSetColumn="спец" />
  81. <Mapping SourceColumn="Curator" DataSetColumn="Curator" />
  82. </Mappings>
  83. <Sources />
  84. </TableAdapter>
  85. </Tables>
  86. <Sources />
  87. </DataSource>
  88. </xs:appinfo>
  89. </xs:annotation>
  90. <xs:element name="groupsOperDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="groupsOperDataSet" msprop:Generator_UserDSName="groupsOperDataSet">
  91. <xs:complexType>
  92. <xs:choice minOccurs="0" maxOccurs="unbounded">
  93. <xs:element name="Groups" msprop:Generator_TableClassName="GroupsDataTable" msprop:Generator_TableVarName="tableGroups" msprop:Generator_RowChangedName="GroupsRowChanged" msprop:Generator_TablePropName="Groups" msprop:Generator_RowDeletingName="GroupsRowDeleting" msprop:Generator_RowChangingName="GroupsRowChanging" msprop:Generator_RowEvHandlerName="GroupsRowChangeEventHandler" msprop:Generator_RowDeletedName="GroupsRowDeleted" msprop:Generator_RowClassName="GroupsRow" msprop:Generator_UserTableName="Groups" msprop:Generator_RowEvArgName="GroupsRowChangeEvent">
  94. <xs:complexType>
  95. <xs:sequence>
  96. <xs:element name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title">
  97. <xs:simpleType>
  98. <xs:restriction base="xs:string">
  99. <xs:maxLength value="10" />
  100. </xs:restriction>
  101. </xs:simpleType>
  102. </xs:element>
  103. <xs:element name="Curator" msprop:Generator_ColumnVarNameInTable="columnCurator" msprop:Generator_ColumnPropNameInRow="Curator" msprop:Generator_ColumnPropNameInTable="CuratorColumn" msprop:Generator_UserColumnName="Curator">
  104. <xs:simpleType>
  105. <xs:restriction base="xs:string">
  106. <xs:maxLength value="15" />
  107. </xs:restriction>
  108. </xs:simpleType>
  109. </xs:element>
  110. <xs:element name="SpecialtyID" msprop:Generator_ColumnVarNameInTable="columnSpecialtyID" msprop:Generator_ColumnPropNameInRow="SpecialtyID" msprop:Generator_ColumnPropNameInTable="SpecialtyIDColumn" msprop:Generator_UserColumnName="SpecialtyID" type="xs:int" />
  111. <xs:element name="GroupID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn" msprop:Generator_UserColumnName="GroupID" type="xs:int" />
  112. </xs:sequence>
  113. </xs:complexType>
  114. </xs:element>
  115. <xs:element name="Специальность_x0020_Группы" msprop:Generator_TableClassName="Специальность_ГруппыDataTable" msprop:Generator_TableVarName="tableСпециальность_Группы" msprop:Generator_TablePropName="Специальность_Группы" msprop:Generator_RowDeletingName="Специальность_ГруппыRowDeleting" msprop:Generator_RowChangingName="Специальность_ГруппыRowChanging" msprop:Generator_RowEvHandlerName="Специальность_ГруппыRowChangeEventHandler" msprop:Generator_RowDeletedName="Специальность_ГруппыRowDeleted" msprop:Generator_UserTableName="Специальность Группы" msprop:Generator_RowChangedName="Специальность_ГруппыRowChanged" msprop:Generator_RowEvArgName="Специальность_ГруппыRowChangeEvent" msprop:Generator_RowClassName="Специальность_ГруппыRow">
  116. <xs:complexType>
  117. <xs:sequence>
  118. <xs:element name="группа" msprop:Generator_ColumnVarNameInTable="columnгруппа" msprop:Generator_ColumnPropNameInRow="группа" msprop:Generator_ColumnPropNameInTable="группаColumn" msprop:Generator_UserColumnName="группа">
  119. <xs:simpleType>
  120. <xs:restriction base="xs:string">
  121. <xs:maxLength value="50" />
  122. </xs:restriction>
  123. </xs:simpleType>
  124. </xs:element>
  125. <xs:element name="спец" msprop:Generator_ColumnVarNameInTable="columnспец" msprop:Generator_ColumnPropNameInRow="спец" msprop:Generator_ColumnPropNameInTable="спецColumn" msprop:Generator_UserColumnName="спец">
  126. <xs:simpleType>
  127. <xs:restriction base="xs:string">
  128. <xs:maxLength value="100" />
  129. </xs:restriction>
  130. </xs:simpleType>
  131. </xs:element>
  132. <xs:element name="Curator" msprop:Generator_ColumnVarNameInTable="columnCurator" msprop:Generator_ColumnPropNameInRow="Curator" msprop:Generator_ColumnPropNameInTable="CuratorColumn" msprop:Generator_UserColumnName="Curator">
  133. <xs:simpleType>
  134. <xs:restriction base="xs:string">
  135. <xs:maxLength value="30" />
  136. </xs:restriction>
  137. </xs:simpleType>
  138. </xs:element>
  139. </xs:sequence>
  140. </xs:complexType>
  141. </xs:element>
  142. </xs:choice>
  143. </xs:complexType>
  144. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  145. <xs:selector xpath=".//mstns:Groups" />
  146. <xs:field xpath="mstns:GroupID" />
  147. </xs:unique>
  148. </xs:element>
  149. </xs:schema>