-
Notifications
You must be signed in to change notification settings - Fork 2
/
appartmentDataSet1.xsd
97 lines (97 loc) · 8.76 KB
/
appartmentDataSet1.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="appartmentDataSet1" targetNamespace="http://tempuri.org/appartmentDataSet1.xsd" xmlns:mstns="http://tempuri.org/appartmentDataSet1.xsd" xmlns="http://tempuri.org/appartmentDataSet1.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="Settings" AppSettingsPropertyName="appartmentConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="appartmentConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.frameworks.Properties.Settings.GlobalReference.Default.appartmentConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tenantTableAdapter" GeneratorDataComponentClassName="tenantTableAdapter" Name="tenant" UserDataComponentName="tenantTableAdapter">
<MainSource>
<DbSource ConnectionRef="appartmentConnectionString (Settings)" DbObjectName="appartment.dbo.tenant" 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">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[tenant] ([Flatno], [Name], [fammem], [Nic], [Phno], [Img1]) VALUES (@Flatno, @Name, @fammem, @Nic, @Phno, @Img1)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Flatno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Flatno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fammem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fammem" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nic" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Img1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Img1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Flatno, Name, fammem, Nic, Phno, Img1 FROM dbo.tenant</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Flatno" DataSetColumn="Flatno" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="fammem" DataSetColumn="fammem" />
<Mapping SourceColumn="Nic" DataSetColumn="Nic" />
<Mapping SourceColumn="Phno" DataSetColumn="Phno" />
<Mapping SourceColumn="Img1" DataSetColumn="Img1" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="appartmentDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="appartmentDataSet1" msprop:Generator_UserDSName="appartmentDataSet1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="tenant" msprop:Generator_TableClassName="tenantDataTable" msprop:Generator_TableVarName="tabletenant" msprop:Generator_TablePropName="tenant" msprop:Generator_RowDeletingName="tenantRowDeleting" msprop:Generator_RowChangingName="tenantRowChanging" msprop:Generator_RowEvHandlerName="tenantRowChangeEventHandler" msprop:Generator_RowDeletedName="tenantRowDeleted" msprop:Generator_UserTableName="tenant" msprop:Generator_RowChangedName="tenantRowChanged" msprop:Generator_RowEvArgName="tenantRowChangeEvent" msprop:Generator_RowClassName="tenantRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Flatno" msprop:Generator_ColumnVarNameInTable="columnFlatno" msprop:Generator_ColumnPropNameInRow="Flatno" msprop:Generator_ColumnPropNameInTable="FlatnoColumn" msprop:Generator_UserColumnName="Flatno" type="xs:int" minOccurs="0" />
<xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fammem" msprop:Generator_ColumnVarNameInTable="columnfammem" msprop:Generator_ColumnPropNameInRow="fammem" msprop:Generator_ColumnPropNameInTable="fammemColumn" msprop:Generator_UserColumnName="fammem" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nic" msprop:Generator_ColumnVarNameInTable="columnNic" msprop:Generator_ColumnPropNameInRow="Nic" msprop:Generator_ColumnPropNameInTable="NicColumn" msprop:Generator_UserColumnName="Nic" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Phno" msprop:Generator_ColumnVarNameInTable="columnPhno" msprop:Generator_ColumnPropNameInRow="Phno" msprop:Generator_ColumnPropNameInTable="PhnoColumn" msprop:Generator_UserColumnName="Phno" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Img1" msprop:Generator_ColumnVarNameInTable="columnImg1" msprop:Generator_ColumnPropNameInRow="Img1" msprop:Generator_ColumnPropNameInTable="Img1Column" msprop:Generator_UserColumnName="Img1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>