asDataSet.xsd 7.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="asDataSet" targetNamespace="http://tempuri.org/asDataSet.xsd" xmlns:mstns="http://tempuri.org/asDataSet.xsd" xmlns="http://tempuri.org/asDataSet.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">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="asConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="asConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApp1.Properties.Settings.GlobalReference.Default.asConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="pipleTableAdapter" GeneratorDataComponentClassName="pipleTableAdapter" Name="piple" UserDataComponentName="pipleTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="asConnectionString (Settings)" DbObjectName="[as].dbo.piple" 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">
  13. <InsertCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>INSERT INTO [dbo].[piple] ([name], [fam], [age], [let]) VALUES (@name, @fam, @age, @let)</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@fam" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Current" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@age" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="age" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@let" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="let" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. </Parameters>
  22. </DbCommand>
  23. </InsertCommand>
  24. <SelectCommand>
  25. <DbCommand CommandType="Text" ModifiedByUser="false">
  26. <CommandText>SELECT name, fam, age, let FROM dbo.piple</CommandText>
  27. <Parameters />
  28. </DbCommand>
  29. </SelectCommand>
  30. </DbSource>
  31. </MainSource>
  32. <Mappings>
  33. <Mapping SourceColumn="name" DataSetColumn="name" />
  34. <Mapping SourceColumn="fam" DataSetColumn="fam" />
  35. <Mapping SourceColumn="age" DataSetColumn="age" />
  36. <Mapping SourceColumn="let" DataSetColumn="let" />
  37. </Mappings>
  38. <Sources />
  39. </TableAdapter>
  40. </Tables>
  41. <Sources />
  42. </DataSource>
  43. </xs:appinfo>
  44. </xs:annotation>
  45. <xs:element name="asDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="asDataSet" msprop:Generator_UserDSName="asDataSet">
  46. <xs:complexType>
  47. <xs:choice minOccurs="0" maxOccurs="unbounded">
  48. <xs:element name="piple" msprop:Generator_TableClassName="pipleDataTable" msprop:Generator_TableVarName="tablepiple" msprop:Generator_TablePropName="piple" msprop:Generator_RowDeletingName="pipleRowDeleting" msprop:Generator_RowChangingName="pipleRowChanging" msprop:Generator_RowEvHandlerName="pipleRowChangeEventHandler" msprop:Generator_RowDeletedName="pipleRowDeleted" msprop:Generator_UserTableName="piple" msprop:Generator_RowChangedName="pipleRowChanged" msprop:Generator_RowEvArgName="pipleRowChangeEvent" msprop:Generator_RowClassName="pipleRow">
  49. <xs:complexType>
  50. <xs:sequence>
  51. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  52. <xs:simpleType>
  53. <xs:restriction base="xs:string">
  54. <xs:maxLength value="10" />
  55. </xs:restriction>
  56. </xs:simpleType>
  57. </xs:element>
  58. <xs:element name="fam" msprop:Generator_ColumnVarNameInTable="columnfam" msprop:Generator_ColumnPropNameInRow="fam" msprop:Generator_ColumnPropNameInTable="famColumn" msprop:Generator_UserColumnName="fam" minOccurs="0">
  59. <xs:simpleType>
  60. <xs:restriction base="xs:string">
  61. <xs:maxLength value="10" />
  62. </xs:restriction>
  63. </xs:simpleType>
  64. </xs:element>
  65. <xs:element name="age" msprop:Generator_ColumnVarNameInTable="columnage" msprop:Generator_ColumnPropNameInRow="age" msprop:Generator_ColumnPropNameInTable="ageColumn" msprop:Generator_UserColumnName="age" minOccurs="0">
  66. <xs:simpleType>
  67. <xs:restriction base="xs:string">
  68. <xs:maxLength value="10" />
  69. </xs:restriction>
  70. </xs:simpleType>
  71. </xs:element>
  72. <xs:element name="let" msprop:Generator_ColumnVarNameInTable="columnlet" msprop:Generator_ColumnPropNameInRow="let" msprop:Generator_ColumnPropNameInTable="letColumn" msprop:Generator_UserColumnName="let" minOccurs="0">
  73. <xs:simpleType>
  74. <xs:restriction base="xs:string">
  75. <xs:maxLength value="10" />
  76. </xs:restriction>
  77. </xs:simpleType>
  78. </xs:element>
  79. </xs:sequence>
  80. </xs:complexType>
  81. </xs:element>
  82. </xs:choice>
  83. </xs:complexType>
  84. </xs:element>
  85. </xs:schema>