?????? ????? ?? ?? Visual Studio .NET XML ?????? ??????? ??? multi-dimensional XSD ?????? ?????

???? ?????? ???? ??????
???? ID: 325695 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

?? ????? ?? Visual Studio .NET ??? multi-dimensional XML ?????? ???????? (XSD) ?????? ?? ????? ?? ?????? ????, ??? ?????? ??????? ????? ?? ????? ?? ??? XML ??????? ????? ????? ?? ???? ??, ?? ??? ????? ?????? ????? ??????? ?? ???? ??????:XML ??????? ?????:
?? XML ???????? formed ?? ??, ?????? ????? ?????? DataView ????????? ???? ?? ????? ?? ?? ?????? (TableName) ??? ?? ??????? relations ?????? ?????? ???? ?? ????

????

XSD ?????? ?? .XML ????????? ?? ??? ??? ????? ?? ??? ??? ????? ??? ??? Visual Studio .NET designers ?????????-?????? ???? .Xml ????????? ???? ??????? ?????? XML ???????, ?? ??? ??? ???? ??? ????? ????? ???? XML ??????? ????? ?? ?? ????? ?? ??? ?????? ??????? ????? ????? ?? Visual Studio .NET ??? ???????? ????? ?? ?????? ???? ???? ???????? ??? ?? ??? XML ???????? ?? ?????? infer ???? ?? ??? Visual Studio .NET ??? XML ??????? ADO.NET ?????? inference ?????? ?? ????? ???? ??? ADO.NET ?????? inference ???? ???? ?????? ??? ?? multi-dimensional ?? ????? ??? Microsoft .NET Framework ?? RTM ?????? ?? ?????? ?????

????????

?? ??? ?????, ?? ????????? ?? ????? ?? ??? ???? Visual Studio .NET XML ?????? ??????? ????? ??? ????? ?? ??? .XSD ????????? ?? ??? ??? ????? ?? ??? ??? ??????? Visual Studio .NET XML ?????? ??????? ?? ???? ??? ??? ?? ??? ?? multi-dimensional XSD ?????? ????????? ?????

??????

?? ??????? ??????? ?????? ??..

???? ???????

?????? ????? re-create ?? ?????? ?? ???? ????, ????? ????? ?? ???? ????:
  1. Notepad ???, ?? ?? ????? ??? ????? ??? ???????:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    	<xs:element name="OrdersInventoryData" type="OrdersInventoryDataType" />
    	<xs:complexType name="ItemType">
    		<xs:sequence>
    			<xs:element name="id" type="xs:string" />
    			<xs:element name="qty" type="xs:integer" />
    		</xs:sequence>
    	</xs:complexType>
    	<xs:complexType name="OrderType">
    		<xs:sequence>
    			<xs:element name="OrderId" type="xs:string" />
    			<xs:element name="CustomerId" type="xs:string" />
    			<xs:element name="Item" type="ItemType" maxOccurs="unbounded" />
    		</xs:sequence>
    	</xs:complexType>
    	<xs:complexType name="InventoryType">
    		<xs:sequence>
    			<xs:element name="Item" type="ItemType" maxOccurs="unbounded" />
    		</xs:sequence>
    	</xs:complexType>
    	<xs:complexType name="OrdersInventoryDataType">
    		<xs:sequence>
    			<xs:element name="Order" type="OrderType" maxOccurs="unbounded" />
    			<xs:element name="Inventory" type="InventoryType" maxOccurs="unbounded"/>
    		</xs:sequence>
    	</xs:complexType>
    </xs:schema>
    					
  2. ???? ????? ????? ?? ??? OrderInventory.xml ?? ??? ??? ????? ??????? ????? ?????? multi-dimensional ?? ??????? ???????????????? ?????? ????OrdersInventoryData???? ?? ??? ?? ?????? ???? ????????ItemType complexType(???????? ?? ?????? ?????? ?? ?? ????? ??? ??? ??????)?
  3. Visual Studio .NET, ??? ?? ?? ?? ?????? Microsoft Visual Basic .NET ?? Microsoft Visual C# .NET ?????????, ???? ???? Windows ????????? ????????? ?? ???? ????? ????????? ????????? ??????
  4. ????????? ?? ??? ?? ???? ??? ????? OrderInventory.xml XML ???????? ??????
  5. ??? ?????? Explorer, ???-????? ????? ?? ???OrderInventory.xml. ???????? ?? ??????? ?? ?? XML ????? ???? XML ??????? ????? ??? ????????? ???? ???? ???
  6. ?? ????????:XML ??????? ????? ?? ?????? ???? ????? ?????? ????? ??????? ???? ??::
    ?? XML ???????? formed ?? ??, ?????? ????? ?????? DataView ????????? ???? ?? ????? ?? ?? ?????? (??????) ??? ?? ??????? relations ?????? ?????? ???? ?? ????
    .Xml ????? ??? ????????? ?? ????? ?? ??? ?????? ??????? ????? ???? ???? ?? ??? ?? XML ??????? ????? ?? ???? ???? ??? ???? ?? ??????? ?? ????? ?? ??? XSD ?????? ?? ??? ??? ?????? XML ?? ??? ??? ???? ????? ???? XML ???? ????????? ???? ?? ??? ??? Visual Studio .NET XML ??????? ????? ?? ???? ??, ?? ADO.NET ?????? inference ???? XML ???????? ?? ?????? ?????? ????????? ???? ?? ??? ???? ???? ?? ADO.NET ?????? inference ???????????? ???, ??complexTypeXML ???? ?? ??? ??? ?? ???????? ?????? inferred ??, ?? ?? ?????? ??? ?? ?? ???? ?????? ?????? ????? ?????? ?????? ???? ?? ???? ??? ????? ?????? ????????? ????ItemType complexType?? ?????? ???? ?? ??? ????????? ???? ??? ??????(OrderType complexType) ?????(InventoryType complexType) ????? ???? ?? ?? ?????? ??, ?? Microsoft .NET Framework ?? RTM ?????? ??? ?????? ADO.NET inference ?????? ?????? ??????? ???
  7. XML ??????? ????? ??? ?????
  8. ?????? Explorer ???, ?? ??? OrderInventory.xml ?? ??? ?????OrderInventory.xsd. ??? ???? ?? ???, ????? ?? ????-????? ????, ?? ???? ??? ????? ??????? ?????.
  9. ??? ?????? Explorer, ???-????? ????? ?? ???OrderInventory.xsd. ???????? ?? ??????? ?? ?? XML ????? ???? XML ?????? ??????? ????? ??? ????????? ???? ???? ??? ?? ??????????????? ?? ?????? ???????? ??? ?? ????????? ???? ?? ????? ???

??????

?? ?? ??????? ?? ???? ?? "???? ?????? (TableName) ??? ?? ??????? relations ?????? ?????? ???? ?? ???? "?????? ????? ?? ?? XML ?? ????? xsd.exe ?????? ?? ??? ?? Visual Studio .NET ?? ??????????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
325696???? ?? ?????? ????? ?? ?? Visual Studio .NET XML ??????? ??? multidimensional XML ???? ?????

???

???? ID: 325695 - ????? ???????: 04 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
??????: 
kbprb kbmt KB325695 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:325695

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com