122 lines
18 KiB
XML
122 lines
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema id="FlughafenDBDataSet" targetNamespace="http://tempuri.org/FlughafenDBDataSet.xsd" xmlns:mstns="http://tempuri.org/FlughafenDBDataSet.xsd" xmlns="http://tempuri.org/FlughafenDBDataSet.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="FlughafenDBConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FlughafenDBConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DataAdapter.Properties.Settings.GlobalReference.Default.FlughafenDBConnectionString" Provider="Microsoft.Data.SqlClient" />
|
|
</Connections>
|
|
<Tables>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FlugTableAdapter" GeneratorDataComponentClassName="FlugTableAdapter" Name="Flug" UserDataComponentName="FlugTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FlughafenDBConnectionString (Settings)" DbObjectName="FlughafenDB.dbo.Flug" 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].[Flug] WHERE (([Flug_ID] = @Original_Flug_ID) AND ([Flugnr] = @Original_Flugnr) AND ([Von] = @Original_Von) AND ([Nach] = @Original_Nach) AND ([Abflug] = @Original_Abflug) AND ([Ankunft] = @Original_Ankunft) AND ([Fluglinie_ID] = @Original_Fluglinie_ID) AND ([Flugzeug_ID] = @Original_Flugzeug_ID))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Flug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flug_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Flugnr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Flugnr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Von" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Von" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Nach" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Nach" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Abflug" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Abflug" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Ankunft" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Ankunft" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Fluglinie_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fluglinie_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Flugzeug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flugzeug_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[Flug] ([Flugnr], [Von], [Nach], [Abflug], [Ankunft], [Fluglinie_ID], [Flugzeug_ID]) VALUES (@Flugnr, @Von, @Nach, @Abflug, @Ankunft, @Fluglinie_ID, @Flugzeug_ID);
|
|
SELECT Flug_ID, Flugnr, Von, Nach, Abflug, Ankunft, Fluglinie_ID, Flugzeug_ID FROM Flug WHERE (Flug_ID = SCOPE_IDENTITY())</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Flugnr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Flugnr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Von" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Von" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Nach" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Nach" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Abflug" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Abflug" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Ankunft" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Ankunft" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Fluglinie_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fluglinie_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Flugzeug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flugzeug_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT Flug_ID, Flugnr, Von, Nach, Abflug, Ankunft, Fluglinie_ID, Flugzeug_ID FROM dbo.Flug</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[Flug] SET [Flugnr] = @Flugnr, [Von] = @Von, [Nach] = @Nach, [Abflug] = @Abflug, [Ankunft] = @Ankunft, [Fluglinie_ID] = @Fluglinie_ID, [Flugzeug_ID] = @Flugzeug_ID WHERE (([Flug_ID] = @Original_Flug_ID) AND ([Flugnr] = @Original_Flugnr) AND ([Von] = @Original_Von) AND ([Nach] = @Original_Nach) AND ([Abflug] = @Original_Abflug) AND ([Ankunft] = @Original_Ankunft) AND ([Fluglinie_ID] = @Original_Fluglinie_ID) AND ([Flugzeug_ID] = @Original_Flugzeug_ID));
|
|
SELECT Flug_ID, Flugnr, Von, Nach, Abflug, Ankunft, Fluglinie_ID, Flugzeug_ID FROM Flug WHERE (Flug_ID = @Flug_ID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Flugnr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Flugnr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Von" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Von" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Nach" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Nach" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Abflug" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Abflug" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Ankunft" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Ankunft" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Fluglinie_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fluglinie_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Flugzeug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flugzeug_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Flug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flug_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Flugnr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Flugnr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Von" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Von" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Nach" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Nach" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Abflug" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Abflug" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Ankunft" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Ankunft" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Fluglinie_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fluglinie_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Flugzeug_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flugzeug_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="Flug_ID" ColumnName="Flug_ID" DataSourceName="FlughafenDB.dbo.Flug" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Flug_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Flug_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Flug_ID" DataSetColumn="Flug_ID" />
|
|
<Mapping SourceColumn="Flugnr" DataSetColumn="Flugnr" />
|
|
<Mapping SourceColumn="Von" DataSetColumn="Von" />
|
|
<Mapping SourceColumn="Nach" DataSetColumn="Nach" />
|
|
<Mapping SourceColumn="Abflug" DataSetColumn="Abflug" />
|
|
<Mapping SourceColumn="Ankunft" DataSetColumn="Ankunft" />
|
|
<Mapping SourceColumn="Fluglinie_ID" DataSetColumn="Fluglinie_ID" />
|
|
<Mapping SourceColumn="Flugzeug_ID" DataSetColumn="Flugzeug_ID" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
</Tables>
|
|
<Sources />
|
|
</DataSource>
|
|
</xs:appinfo>
|
|
</xs:annotation>
|
|
<xs:element name="FlughafenDBDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FlughafenDBDataSet" msprop:Generator_DataSetName="FlughafenDBDataSet">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="Flug" msprop:Generator_RowEvHandlerName="FlugRowChangeEventHandler" msprop:Generator_RowDeletedName="FlugRowDeleted" msprop:Generator_RowDeletingName="FlugRowDeleting" msprop:Generator_RowEvArgName="FlugRowChangeEvent" msprop:Generator_TablePropName="Flug" msprop:Generator_RowChangedName="FlugRowChanged" msprop:Generator_RowChangingName="FlugRowChanging" msprop:Generator_TableClassName="FlugDataTable" msprop:Generator_RowClassName="FlugRow" msprop:Generator_TableVarName="tableFlug" msprop:Generator_UserTableName="Flug">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Flug_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="Flug_ID" msprop:Generator_ColumnPropNameInTable="Flug_IDColumn" msprop:Generator_ColumnVarNameInTable="columnFlug_ID" msprop:Generator_UserColumnName="Flug_ID" type="xs:int" />
|
|
<xs:element name="Flugnr" msprop:Generator_ColumnPropNameInRow="Flugnr" msprop:Generator_ColumnPropNameInTable="FlugnrColumn" msprop:Generator_ColumnVarNameInTable="columnFlugnr" msprop:Generator_UserColumnName="Flugnr">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Von" msprop:Generator_ColumnPropNameInRow="Von" msprop:Generator_ColumnPropNameInTable="VonColumn" msprop:Generator_ColumnVarNameInTable="columnVon" msprop:Generator_UserColumnName="Von" type="xs:short" />
|
|
<xs:element name="Nach" msprop:Generator_ColumnPropNameInRow="Nach" msprop:Generator_ColumnPropNameInTable="NachColumn" msprop:Generator_ColumnVarNameInTable="columnNach" msprop:Generator_UserColumnName="Nach" type="xs:short" />
|
|
<xs:element name="Abflug" msprop:Generator_ColumnPropNameInRow="Abflug" msprop:Generator_ColumnPropNameInTable="AbflugColumn" msprop:Generator_ColumnVarNameInTable="columnAbflug" msprop:Generator_UserColumnName="Abflug" type="xs:dateTime" />
|
|
<xs:element name="Ankunft" msprop:Generator_ColumnPropNameInRow="Ankunft" msprop:Generator_ColumnPropNameInTable="AnkunftColumn" msprop:Generator_ColumnVarNameInTable="columnAnkunft" msprop:Generator_UserColumnName="Ankunft" type="xs:dateTime" />
|
|
<xs:element name="Fluglinie_ID" msprop:Generator_ColumnPropNameInRow="Fluglinie_ID" msprop:Generator_ColumnPropNameInTable="Fluglinie_IDColumn" msprop:Generator_ColumnVarNameInTable="columnFluglinie_ID" msprop:Generator_UserColumnName="Fluglinie_ID" type="xs:int" />
|
|
<xs:element name="Flugzeug_ID" msprop:Generator_ColumnPropNameInRow="Flugzeug_ID" msprop:Generator_ColumnPropNameInTable="Flugzeug_IDColumn" msprop:Generator_ColumnVarNameInTable="columnFlugzeug_ID" msprop:Generator_UserColumnName="Flugzeug_ID" type="xs:int" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:Flug" />
|
|
<xs:field xpath="mstns:Flug_ID" />
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:schema> |