📄 mealsstaff.xsd
字号:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MealsStaff" targetNamespace="http://tempuri.org/MealsStaff.xsd" xmlns:mstns="http://tempuri.org/MealsStaff.xsd" xmlns="http://tempuri.org/MealsStaff.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="Web.config" AppSettingsPropertyName="MealsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="MealsConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.MealsConnectionString.ConnectionString" Provider="System.Data.SqlClient">
</Connection>
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Tbl_MealsStaffTableAdapter" GeneratorDataComponentClassName="Tbl_MealsStaffTableAdapter" Name="Tbl_MealsStaff" UserDataComponentName="Tbl_MealsStaffTableAdapter">
<MainSource>
<DbSource ConnectionRef="MealsConnectionString (Web.config)" DbObjectName="Meals.dbo.Tbl_MealsStaff" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="GetData">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="False">
<CommandText>INSERT INTO [Tbl_MealsStaff] ([ProId], [AName], [MMoney]) VALUES (@ProId, @AName, @MMoney)</CommandText>
<Parameters>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProId" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AName" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@MMoney" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MMoney" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>SELECT Tbl_MealsStaff.*
FROM Tbl_MealsStaff</CommandText>
<Parameters>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="MealsId" DataSetColumn="MealsId" />
<Mapping SourceColumn="ProId" DataSetColumn="ProId" />
<Mapping SourceColumn="AName" DataSetColumn="AName" />
<Mapping SourceColumn="MMoney" DataSetColumn="MMoney" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MealsConnectionString (Web.config)" DbObjectName="Meals.dbo.Tbl_MealsStaff" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByProId" GetMethodModifier="Public" GetMethodName="GetDataByProId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByProId" UserSourceName="GetDataByProId1">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>SELECT Tbl_MealsStaff.*
FROM Tbl_MealsStaff where ProId=@ProId</CommandText>
<Parameters>
<Parameter AllowDbNull="True" AutogeneratedName="ProId" ColumnName="ProId" DataSourceName="Meals.dbo.Tbl_MealsStaff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProId" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MealsConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="True" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="InsertQuery">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>INSERT INTO [Tbl_MealsStaff] ([ProId], [AName], [MMoney]) VALUES (@ProId, @AName, @MMoney)</CommandText>
<Parameters>
<Parameter AllowDbNull="True" AutogeneratedName="ProId" ColumnName="ProId" DataSourceName="Meals.dbo.Tbl_MealsStaff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProId" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="AName" ColumnName="AName" DataSourceName="Meals.dbo.Tbl_MealsStaff" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@AName" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="AName" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
<Parameter AllowDbNull="True" AutogeneratedName="MMoney" ColumnName="MMoney" DataSourceName="Meals.dbo.Tbl_MealsStaff" DataTypeServer="float" DbType="Single" Direction="Input" ParameterName="@MMoney" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="MMoney" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="MealsConnectionString (Web.config)" DbObjectType="Unknown" GenerateShortCommands="True" GeneratorSourceName="ScalarQuery" Modifier="Public" Name="ScalarQuery" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy1" UserSourceName="ScalarQuery">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>SELECT COUNT(*) FROM Tbl_MealsStaff where ProId=@ProId</CommandText>
<Parameters>
<Parameter AllowDbNull="True" AutogeneratedName="ProId" ColumnName="ProId" DataSourceName="Meals.dbo.Tbl_MealsStaff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProId" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="pro_sqlTableAdapter" GeneratorDataComponentClassName="pro_sqlTableAdapter" Name="pro_sql" UserDataComponentName="pro_sqlTableAdapter">
<MainSource>
<DbSource ConnectionRef="MealsConnectionString (Web.config)" DbObjectName="Meals.dbo.pro_sql" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="GetData">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
<CommandText>dbo.pro_sql</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="AnsiString" Direction="Input" ParameterName="@sql" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="False" SourceVersion="Current">
</Parameter>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
</Mappings>
<Sources>
</Sources>
</TableAdapter>
</Tables>
<Sources>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="MealsStaff" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="MealsStaff" msprop:Generator_DataSetName="MealsStaff">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Tbl_MealsStaff" msprop:Generator_UserTableName="Tbl_MealsStaff" msprop:Generator_RowDeletedName="Tbl_MealsStaffRowDeleted" msprop:Generator_RowChangedName="Tbl_MealsStaffRowChanged" msprop:Generator_RowClassName="Tbl_MealsStaffRow" msprop:Generator_RowChangingName="Tbl_MealsStaffRowChanging" msprop:Generator_RowEvArgName="Tbl_MealsStaffRowChangeEvent" msprop:Generator_RowEvHandlerName="Tbl_MealsStaffRowChangeEventHandler" msprop:Generator_TableClassName="Tbl_MealsStaffDataTable" msprop:Generator_TableVarName="tableTbl_MealsStaff" msprop:Generator_RowDeletingName="Tbl_MealsStaffRowDeleting" msprop:Generator_TablePropName="Tbl_MealsStaff">
<xs:complexType>
<xs:sequence>
<xs:element name="MealsId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="MealsId" msprop:Generator_ColumnPropNameInRow="MealsId" msprop:Generator_ColumnVarNameInTable="columnMealsId" msprop:Generator_ColumnPropNameInTable="MealsIdColumn" type="xs:int" />
<xs:element name="ProId" msprop:Generator_UserColumnName="ProId" msprop:Generator_ColumnPropNameInRow="ProId" msprop:Generator_ColumnVarNameInTable="columnProId" msprop:Generator_ColumnPropNameInTable="ProIdColumn" type="xs:int" minOccurs="0" />
<xs:element name="AName" msprop:Generator_UserColumnName="AName" msprop:Generator_ColumnPropNameInRow="AName" msprop:Generator_ColumnVarNameInTable="columnAName" msprop:Generator_ColumnPropNameInTable="ANameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MMoney" msprop:Generator_UserColumnName="MMoney" msprop:Generator_ColumnPropNameInRow="MMoney" msprop:Generator_ColumnVarNameInTable="columnMMoney" msprop:Generator_ColumnPropNameInTable="MMoneyColumn" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pro_sql" msprop:Generator_UserTableName="pro_sql" msprop:Generator_RowDeletedName="pro_sqlRowDeleted" msprop:Generator_RowChangedName="pro_sqlRowChanged" msprop:Generator_RowClassName="pro_sqlRow" msprop:Generator_RowChangingName="pro_sqlRowChanging" msprop:Generator_RowEvArgName="pro_sqlRowChangeEvent" msprop:Generator_RowEvHandlerName="pro_sqlRowChangeEventHandler" msprop:Generator_TableClassName="pro_sqlDataTable" msprop:Generator_TableVarName="tablepro_sql" msprop:Generator_RowDeletingName="pro_sqlRowDeleting" msprop:Generator_TablePropName="pro_sql">
<xs:complexType>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -