📄 dslanmu.xsd
字号:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsLanmu" targetNamespace="http://tempuri.org/dsLanmu.xsd" xmlns:mstns="http://tempuri.org/dsLanmu.xsd" xmlns="http://tempuri.org/dsLanmu.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" 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="Web.config" AppSettingsPropertyName="news_manageConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="news_manageConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.news_manageConnectionString.ConnectionString" Provider="System.Data.SqlClient">
</Connection>
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="t_ItemTableAdapter" Name="t_Item">
<MainSource>
<DbSource ConnectionRef="news_manageConnectionString (Web.config)" DbObjectName="news_manage.dbo.t_Item" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="False">
<CommandText>DELETE FROM [t_Item] WHERE (([ITEMID] = @Original_ITEMID))</CommandText>
<Parameters>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ITEMID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ITEMID" SourceColumnNullMapping="False" SourceVersion="Original">
</Parameter>
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="False">
<CommandText>INSERT INTO [t_Item] ([ITEMNAME], [ITEMDESC], [ITEMORDER]) VALUES (@ITEMNAME, @ITEMDESC, @ITEMORDER)</CommandText>
<Parameters>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ITEMNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ITEMNAME" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ITEMDESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ITEMDESC" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ITEMORDER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ITEMORDER" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>SELECT t_Item.*
FROM t_Item</CommandText>
<Parameters>
</Parameters>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="False">
<CommandText>UPDATE [t_Item] SET [ITEMNAME] = @ITEMNAME, [ITEMDESC] = @ITEMDESC, [ITEMORDER] = @ITEMORDER WHERE (([ITEMID] = @Original_ITEMID))</CommandText>
<Parameters>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ITEMNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ITEMNAME" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ITEMDESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ITEMDESC" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ITEMORDER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ITEMORDER" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ITEMID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ITEMID" SourceColumnNullMapping="False" SourceVersion="Original">
</Parameter>
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ITEMID" DataSetColumn="ITEMID" />
<Mapping SourceColumn="ITEMNAME" DataSetColumn="ITEMNAME" />
<Mapping SourceColumn="ITEMDESC" DataSetColumn="ITEMDESC" />
<Mapping SourceColumn="ITEMORDER" DataSetColumn="ITEMORDER" />
</Mappings>
<Sources>
<DbSource ConnectionRef="news_manageConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="True" Modifier="Public" Name="insertLanmu" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>INSERT INTO [t_Item] ([ITEMNAME], [ITEMDESC], [ITEMORDER]) VALUES (@ITEMNAME, @ITEMDESC, @ITEMORDER)</CommandText>
<Parameters>
<Parameter AllowDbNull="False" AutogeneratedName="ITEMNAME" ColumnName="ITEMNAME" DataSourceName="news_manage.dbo.t_Item" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ITEMNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ITEMNAME" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="ITEMDESC" ColumnName="ITEMDESC" DataSourceName="news_manage.dbo.t_Item" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@ITEMDESC" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="ITEMDESC" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="ITEMORDER" ColumnName="ITEMORDER" DataSourceName="news_manage.dbo.t_Item" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ITEMORDER" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ITEMORDER" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="dsLanmu" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="t_Item">
<xs:complexType>
<xs:sequence>
<xs:element name="ITEMID" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
<xs:element name="ITEMNAME">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ITEMDESC">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ITEMORDER" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:t_Item" />
<xs:field xpath="mstns:ITEMID" />
</xs:unique>
</xs:element>
</xs:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -