-
Notifications
You must be signed in to change notification settings - Fork 0
/
fightGymDataSet.xsd
127 lines (127 loc) · 19.4 KB
/
fightGymDataSet.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="fightGymDataSet" targetNamespace="http://tempuri.org/fightGymDataSet.xsd" xmlns:mstns="http://tempuri.org/fightGymDataSet.xsd" xmlns="http://tempuri.org/fightGymDataSet.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="fightGymConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="fightGymConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FighyGym2.Properties.Settings.GlobalReference.Default.fightGymConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Tbl_eshtrackatTableAdapter" GeneratorDataComponentClassName="Tbl_eshtrackatTableAdapter" Name="Tbl_eshtrackat" UserDataComponentName="Tbl_eshtrackatTableAdapter">
<MainSource>
<DbSource ConnectionRef="fightGymConnectionString (Settings)" DbObjectName="fightGym.dbo.Tbl_eshtrackat" 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].[Tbl_eshtrackat] WHERE (([ID] = @Original_ID) AND ((@IsNull_Student_id = 1 AND [Student_id] IS NULL) OR ([Student_id] = @Original_Student_id)) AND ((@IsNull_From = 1 AND [From] IS NULL) OR ([From] = @Original_From)) AND ((@IsNull_To = 1 AND [To] IS NULL) OR ([To] = @Original_To)) AND ((@IsNull_emp_id = 1 AND [emp_id] IS NULL) OR ([emp_id] = @Original_emp_id)) AND ([class_name] = @Original_class_name) AND ((@IsNull_mount = 1 AND [mount] IS NULL) OR ([mount] = @Original_mount)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_From" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_From" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_To" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_To" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_class_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="class_name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_mount" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Tbl_eshtrackat] ([ID], [Student_id], [From], [To], [emp_id], [class_name], [mount]) VALUES (@ID, @Student_id, @From, @To, @emp_id, @class_name, @mount);
SELECT ID, Student_id, [From], [To], emp_id, class_name, mount FROM Tbl_eshtrackat WHERE (ID = @ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@From" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@To" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@class_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="class_name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@mount" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ID, Student_id, [From], [To], emp_id, class_name, mount FROM dbo.Tbl_eshtrackat</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Tbl_eshtrackat] SET [ID] = @ID, [Student_id] = @Student_id, [From] = @From, [To] = @To, [emp_id] = @emp_id, [class_name] = @class_name, [mount] = @mount WHERE (([ID] = @Original_ID) AND ((@IsNull_Student_id = 1 AND [Student_id] IS NULL) OR ([Student_id] = @Original_Student_id)) AND ((@IsNull_From = 1 AND [From] IS NULL) OR ([From] = @Original_From)) AND ((@IsNull_To = 1 AND [To] IS NULL) OR ([To] = @Original_To)) AND ((@IsNull_emp_id = 1 AND [emp_id] IS NULL) OR ([emp_id] = @Original_emp_id)) AND ([class_name] = @Original_class_name) AND ((@IsNull_mount = 1 AND [mount] IS NULL) OR ([mount] = @Original_mount)));
SELECT ID, Student_id, [From], [To], emp_id, class_name, mount FROM Tbl_eshtrackat WHERE (ID = @ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@From" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@To" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@class_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="class_name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@mount" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Student_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Student_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_From" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_From" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="From" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_To" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_To" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="To" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_emp_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="emp_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_class_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="class_name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_mount" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="mount" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ID" DataSetColumn="ID" />
<Mapping SourceColumn="Student_id" DataSetColumn="Student_id" />
<Mapping SourceColumn="From" DataSetColumn="From" />
<Mapping SourceColumn="To" DataSetColumn="To" />
<Mapping SourceColumn="emp_id" DataSetColumn="emp_id" />
<Mapping SourceColumn="class_name" DataSetColumn="class_name" />
<Mapping SourceColumn="mount" DataSetColumn="mount" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="fightGymDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="fightGymDataSet" msprop:Generator_UserDSName="fightGymDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Tbl_eshtrackat" msprop:Generator_TableClassName="Tbl_eshtrackatDataTable" msprop:Generator_TableVarName="tableTbl_eshtrackat" msprop:Generator_TablePropName="Tbl_eshtrackat" msprop:Generator_RowDeletingName="Tbl_eshtrackatRowDeleting" msprop:Generator_RowChangingName="Tbl_eshtrackatRowChanging" msprop:Generator_RowEvHandlerName="Tbl_eshtrackatRowChangeEventHandler" msprop:Generator_RowDeletedName="Tbl_eshtrackatRowDeleted" msprop:Generator_UserTableName="Tbl_eshtrackat" msprop:Generator_RowChangedName="Tbl_eshtrackatRowChanged" msprop:Generator_RowEvArgName="Tbl_eshtrackatRowChangeEvent" msprop:Generator_RowClassName="Tbl_eshtrackatRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
<xs:element name="Student_id" msprop:Generator_ColumnVarNameInTable="columnStudent_id" msprop:Generator_ColumnPropNameInRow="Student_id" msprop:Generator_ColumnPropNameInTable="Student_idColumn" msprop:Generator_UserColumnName="Student_id" type="xs:int" minOccurs="0" />
<xs:element name="From" msprop:Generator_ColumnVarNameInTable="columnFrom" msprop:Generator_ColumnPropNameInRow="From" msprop:Generator_ColumnPropNameInTable="FromColumn" msprop:Generator_UserColumnName="From" type="xs:dateTime" minOccurs="0" />
<xs:element name="To" msprop:Generator_ColumnVarNameInTable="columnTo" msprop:Generator_ColumnPropNameInRow="To" msprop:Generator_ColumnPropNameInTable="ToColumn" msprop:Generator_UserColumnName="To" type="xs:dateTime" minOccurs="0" />
<xs:element name="emp_id" msprop:Generator_ColumnVarNameInTable="columnemp_id" msprop:Generator_ColumnPropNameInRow="emp_id" msprop:Generator_ColumnPropNameInTable="emp_idColumn" msprop:Generator_UserColumnName="emp_id" type="xs:int" minOccurs="0" />
<xs:element name="class_name" msprop:Generator_ColumnVarNameInTable="columnclass_name" msprop:Generator_ColumnPropNameInRow="class_name" msprop:Generator_ColumnPropNameInTable="class_nameColumn" msprop:Generator_UserColumnName="class_name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="mount" msprop:Generator_ColumnVarNameInTable="columnmount" msprop:Generator_ColumnPropNameInRow="mount" msprop:Generator_ColumnPropNameInTable="mountColumn" msprop:Generator_UserColumnName="mount" type="xs:float" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Tbl_eshtrackat" />
<xs:field xpath="mstns:ID" />
</xs:unique>
</xs:element>
</xs:schema>