wwt-website/WWTWebservices/AstroObjectsDataset.xsd

108 строки
9.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AstroObjectsDataset" targetNamespace="http://research.microsoft.com/WWT/AstroObjectsDataset.xsd" xmlns:mstns="http://research.microsoft.com/WWT/AstroObjectsDataset.xsd" xmlns="http://research.microsoft.com/WWT/AstroObjectsDataset.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 ConnectionStringObject="Data Source=ns-andromeda;Initial Catalog=AstroObjects;Integrated Security=True" IsAppSettingsProperty="False" Modifier="Assembly" Name="ns-andromeda.AstroObjects.dbo" ParameterPrefix="@" Provider="System.Data.SqlClient">
</Connection>
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spGetAstroObjectsTableAdapter" GeneratorDataComponentClassName="spGetAstroObjectsTableAdapter" Name="spGetAstroObjects" UserDataComponentName="spGetAstroObjectsTableAdapter">
<MainSource>
<DbSource ConnectionRef="ns-andromeda.AstroObjects.dbo" DbObjectName="AstroObjects.dbo.spGetAstroObjects" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
<CommandText>dbo.spGetAstroObjects</CommandText>
<Parameters>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pAstroObjectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@pRa" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@pDec" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@pPlusMinusArcSecs" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="AstroObjectID" DataSetColumn="AstroObjectID" />
<Mapping SourceColumn="MessierName" DataSetColumn="MessierName" />
<Mapping SourceColumn="NGCName" DataSetColumn="NGCName" />
<Mapping SourceColumn="PopularName1" DataSetColumn="PopularName1" />
<Mapping SourceColumn="Ra2000" DataSetColumn="Ra2000" />
<Mapping SourceColumn="Dec2000" DataSetColumn="Dec2000" />
<Mapping SourceColumn="VisualMagnitude" DataSetColumn="VisualMagnitude" />
<Mapping SourceColumn="ConstellationName" DataSetColumn="ConstellationName" />
<Mapping SourceColumn="ObjectType" DataSetColumn="ObjectType" />
</Mappings>
<Sources>
</Sources>
</TableAdapter>
</Tables>
<Sources>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="AstroObjectsDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="AstroObjectsDataset" msprop:Generator_DataSetName="AstroObjectsDataset">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="spGetAstroObjects" msprop:Generator_UserTableName="spGetAstroObjects" msprop:Generator_RowDeletedName="spGetAstroObjectsRowDeleted" msprop:Generator_RowChangedName="spGetAstroObjectsRowChanged" msprop:Generator_RowClassName="spGetAstroObjectsRow" msprop:Generator_RowChangingName="spGetAstroObjectsRowChanging" msprop:Generator_RowEvArgName="spGetAstroObjectsRowChangeEvent" msprop:Generator_RowEvHandlerName="spGetAstroObjectsRowChangeEventHandler" msprop:Generator_TableClassName="spGetAstroObjectsDataTable" msprop:Generator_TableVarName="tablespGetAstroObjects" msprop:Generator_RowDeletingName="spGetAstroObjectsRowDeleting" msprop:Generator_TablePropName="spGetAstroObjects">
<xs:complexType>
<xs:sequence>
<xs:element name="AstroObjectID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="AstroObjectID" msprop:Generator_ColumnPropNameInRow="AstroObjectID" msprop:Generator_ColumnVarNameInTable="columnAstroObjectID" msprop:Generator_ColumnPropNameInTable="AstroObjectIDColumn" type="xs:long" />
<xs:element name="MessierName" msprop:Generator_UserColumnName="MessierName" msprop:Generator_ColumnPropNameInRow="MessierName" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnMessierName" msprop:Generator_ColumnPropNameInTable="MessierNameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NGCName" msprop:Generator_UserColumnName="NGCName" msprop:Generator_ColumnPropNameInRow="NGCName" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnNGCName" msprop:Generator_ColumnPropNameInTable="NGCNameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PopularName1" msprop:Generator_UserColumnName="PopularName1" msprop:Generator_ColumnPropNameInRow="PopularName1" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnPopularName1" msprop:Generator_ColumnPropNameInTable="PopularName1Column" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ra2000" msprop:Generator_UserColumnName="Ra2000" msprop:Generator_ColumnPropNameInRow="Ra2000" msprop:Generator_ColumnVarNameInTable="columnRa2000" msprop:Generator_ColumnPropNameInTable="Ra2000Column" type="xs:double" minOccurs="0" />
<xs:element name="Dec2000" msprop:Generator_UserColumnName="Dec2000" msprop:Generator_ColumnPropNameInRow="Dec2000" msprop:Generator_ColumnVarNameInTable="columnDec2000" msprop:Generator_ColumnPropNameInTable="Dec2000Column" type="xs:double" minOccurs="0" />
<xs:element name="VisualMagnitude" msprop:Generator_UserColumnName="VisualMagnitude" msprop:Generator_ColumnPropNameInRow="VisualMagnitude" msprop:Generator_ColumnVarNameInTable="columnVisualMagnitude" msprop:Generator_ColumnPropNameInTable="VisualMagnitudeColumn" type="xs:float" minOccurs="0" />
<xs:element name="ConstellationName" msprop:Generator_UserColumnName="ConstellationName" msprop:Generator_ColumnPropNameInRow="ConstellationName" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnConstellationName" msprop:Generator_ColumnPropNameInTable="ConstellationNameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="400" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ObjectType" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ObjectType" msprop:Generator_ColumnPropNameInRow="ObjectType" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnObjectType" msprop:Generator_ColumnPropNameInTable="ObjectTypeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="401" />
</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:spGetAstroObjects" />
<xs:field xpath="mstns:AstroObjectID" />
</xs:unique>
</xs:element>
</xs:schema>