-
Notifications
You must be signed in to change notification settings - Fork 0
/
MLBAllPlayersDataSet.xsd
179 lines (179 loc) · 20.1 KB
/
MLBAllPlayersDataSet.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MLBAllPlayersDataSet" targetNamespace="http://tempuri.org/MLBAllPlayersDataSet.xsd" xmlns:mstns="http://tempuri.org/MLBAllPlayersDataSet.xsd" xmlns="http://tempuri.org/MLBAllPlayersDataSet.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="MySettings" AppSettingsPropertyName="MLBAllPlayersConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="MLBAllPlayersConnectionString (MySettings)" PropertyReference="ApplicationSettings.ZachChilders_CPT_206_A01_S_FinalProject.My.MySettings.GlobalReference.Default.MLBAllPlayersConnectionString" Provider="System.Data.OleDb" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MLBEastPlayersTableAdapter" GeneratorDataComponentClassName="MLBEastPlayersTableAdapter" Name="MLBEastPlayers" UserDataComponentName="MLBEastPlayersTableAdapter">
<MainSource>
<DbSource ConnectionRef="MLBAllPlayersConnectionString (MySettings)" DbObjectName="MLBEastPlayers" 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 `MLBEastPlayers` WHERE ((`ID` = ?) AND ((? = 1 AND `Player Names` IS NULL) OR (`Player Names` = ?)) AND ((? = 1 AND `Team Name` IS NULL) OR (`Team Name` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Player_Names" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Team_Name" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO `MLBEastPlayers` (`Player Names`, `Team Name`) VALUES (?, ?)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ID, [Player Names], [Team Name] FROM MLBEastPlayers</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE `MLBEastPlayers` SET `Player Names` = ?, `Team Name` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `Player Names` IS NULL) OR (`Player Names` = ?)) AND ((? = 1 AND `Team Name` IS NULL) OR (`Team Name` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Player_Names" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Team_Name" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ID" DataSetColumn="ID" />
<Mapping SourceColumn="Player Names" DataSetColumn="Player Names" />
<Mapping SourceColumn="Team Name" DataSetColumn="Team Name" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderByTeamName" GeneratorDataComponentClassName="OrderByTeamName" Name="OrderByTeamName" UserDataComponentName="OrderByTeamName">
<MainSource>
<DbSource ConnectionRef="MLBAllPlayersConnectionString (MySettings)" DbObjectName="MLBEastPlayers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByTeamName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataTeamName" GeneratorSourceName="FillByTeamName" GetMethodModifier="Public" GetMethodName="GetDataTeamName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataTeamName" UserSourceName="FillByTeamName">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM `MLBEastPlayers` WHERE ((`ID` = ?) AND ((? = 1 AND `Player Names` IS NULL) OR (`Player Names` = ?)) AND ((? = 1 AND `Team Name` IS NULL) OR (`Team Name` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Player_Names" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Team_Name" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO `MLBEastPlayers` (`Player Names`, `Team Name`) VALUES (?, ?)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ID, [Player Names], [Team Name]
FROM MLBEastPlayers
ORDER BY [Team Name]</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE `MLBEastPlayers` SET `Player Names` = ?, `Team Name` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `Player Names` IS NULL) OR (`Player Names` = ?)) AND ((? = 1 AND `Team Name` IS NULL) OR (`Team Name` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Player_Names" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Player_Names" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Player Names" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Team_Name" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Team_Name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Team Name" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ID" DataSetColumn="ID" />
<Mapping SourceColumn="Player Names" DataSetColumn="Player Names" />
<Mapping SourceColumn="Team Name" DataSetColumn="Team Name" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="MLBAllPlayersDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="MLBAllPlayersDataSet" msprop:Generator_UserDSName="MLBAllPlayersDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="MLBEastPlayers" msprop:Generator_TableClassName="MLBEastPlayersDataTable" msprop:Generator_TableVarName="tableMLBEastPlayers" msprop:Generator_RowChangedName="MLBEastPlayersRowChanged" msprop:Generator_TablePropName="MLBEastPlayers" msprop:Generator_RowDeletingName="MLBEastPlayersRowDeleting" msprop:Generator_RowChangingName="MLBEastPlayersRowChanging" msprop:Generator_RowEvHandlerName="MLBEastPlayersRowChangeEventHandler" msprop:Generator_RowDeletedName="MLBEastPlayersRowDeleted" msprop:Generator_RowClassName="MLBEastPlayersRow" msprop:Generator_UserTableName="MLBEastPlayers" msprop:Generator_RowEvArgName="MLBEastPlayersRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
<xs:element name="Player_x0020_Names" msprop:Generator_ColumnVarNameInTable="columnPlayer_Names" msprop:Generator_ColumnPropNameInRow="Player_Names" msprop:Generator_ColumnPropNameInTable="Player_NamesColumn" msprop:Generator_UserColumnName="Player Names" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Team_x0020_Name" msprop:Generator_ColumnVarNameInTable="columnTeam_Name" msprop:Generator_ColumnPropNameInRow="Team_Name" msprop:Generator_ColumnPropNameInTable="Team_NameColumn" msprop:Generator_UserColumnName="Team Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderByTeamName" msprop:Generator_TableClassName="OrderByTeamNameDataTable" msprop:Generator_TableVarName="tableOrderByTeamName" msprop:Generator_TablePropName="OrderByTeamName" msprop:Generator_RowDeletingName="OrderByTeamNameRowDeleting" msprop:Generator_RowChangingName="OrderByTeamNameRowChanging" msprop:Generator_RowEvHandlerName="OrderByTeamNameRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderByTeamNameRowDeleted" msprop:Generator_UserTableName="OrderByTeamName" msprop:Generator_RowChangedName="OrderByTeamNameRowChanged" msprop:Generator_RowEvArgName="OrderByTeamNameRowChangeEvent" msprop:Generator_RowClassName="OrderByTeamNameRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
<xs:element name="Player_x0020_Names" msprop:Generator_ColumnVarNameInTable="columnPlayer_Names" msprop:Generator_ColumnPropNameInRow="Player_Names" msprop:Generator_ColumnPropNameInTable="Player_NamesColumn" msprop:Generator_UserColumnName="Player Names" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Team_x0020_Name" msprop:Generator_ColumnVarNameInTable="columnTeam_Name" msprop:Generator_ColumnPropNameInRow="Team_Name" msprop:Generator_ColumnPropNameInTable="Team_NameColumn" msprop:Generator_UserColumnName="Team Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</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:MLBEastPlayers" />
<xs:field xpath="mstns:ID" />
</xs:unique>
<xs:unique name="OrderByTeamName_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OrderByTeamName" />
<xs:field xpath="mstns:ID" />
</xs:unique>
</xs:element>
</xs:schema>