-
Notifications
You must be signed in to change notification settings - Fork 4
/
DSSampleSummary.xsd
92 lines (92 loc) · 8.47 KB
/
DSSampleSummary.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSSampleSummary" targetNamespace="http://tempuri.org/DSSampleSummary.xsd" xmlns:mstns="http://tempuri.org/DSSampleSummary.xsd" xmlns="http://tempuri.org/DSSampleSummary.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="dsa_limsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dsa_limsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DSA_lims.Properties.Settings.GlobalReference.Default.dsa_limsConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable1TableAdapter" GeneratorDataComponentClassName="DataTable1TableAdapter" Name="DataTable1" UserDataComponentName="DataTable1TableAdapter">
<MainSource>
<DbSource ConnectionRef="dsa_limsConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT DISTINCT
sample.number AS sample_number, assignment.name AS assignment_name, sample_type.name AS sample_type_name, sample.external_id AS sample_exid, sample.reference_date AS sample_refdate,
assignment.deadline AS assignment_deadline, cv_account.name AS responsible_name
FROM sample_x_assignment_sample_type INNER JOIN
sample ON sample_x_assignment_sample_type.sample_id = sample.id INNER JOIN
assignment_sample_type ON sample_x_assignment_sample_type.assignment_sample_type_id = assignment_sample_type.id INNER JOIN
assignment ON assignment_sample_type.assignment_id = assignment.id INNER JOIN
sample_type ON sample.sample_type_id = sample_type.id INNER JOIN
cv_account ON assignment.account_id = cv_account.id
WHERE (sample.instance_status_id = 1) AND (assignment.id = @aid)
ORDER BY assignment_name, sample_number</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="aid" ColumnName="id" DataSourceName="dsa_lims.dbo.assignment" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@aid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="assignment_name" DataSetColumn="assignment_name" />
<Mapping SourceColumn="sample_number" DataSetColumn="sample_number" />
<Mapping SourceColumn="sample_type_name" DataSetColumn="sample_type_name" />
<Mapping SourceColumn="sample_exid" DataSetColumn="sample_exid" />
<Mapping SourceColumn="sample_refdate" DataSetColumn="sample_refdate" />
<Mapping SourceColumn="assignment_deadline" DataSetColumn="assignment_deadline" />
<Mapping SourceColumn="responsible_name" DataSetColumn="responsible_name" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DSSampleSummary" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSSampleSummary" msprop:Generator_UserDSName="DSSampleSummary">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable1" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_TablePropName="DataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_RowClassName="DataTable1Row" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="assignment_name" msprop:Generator_ColumnVarNameInTable="columnassignment_name" msprop:Generator_ColumnPropNameInRow="assignment_name" msprop:Generator_ColumnPropNameInTable="assignment_nameColumn" msprop:Generator_UserColumnName="assignment_name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sample_number" msprop:Generator_ColumnVarNameInTable="columnsample_number" msprop:Generator_ColumnPropNameInRow="sample_number" msprop:Generator_ColumnPropNameInTable="sample_numberColumn" msprop:Generator_UserColumnName="sample_number" type="xs:int" />
<xs:element name="sample_type_name" msprop:Generator_ColumnVarNameInTable="columnsample_type_name" msprop:Generator_ColumnPropNameInRow="sample_type_name" msprop:Generator_ColumnPropNameInTable="sample_type_nameColumn" msprop:Generator_UserColumnName="sample_type_name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sample_exid" msprop:Generator_ColumnVarNameInTable="columnsample_exid" msprop:Generator_ColumnPropNameInRow="sample_exid" msprop:Generator_ColumnPropNameInTable="sample_exidColumn" msprop:Generator_UserColumnName="sample_exid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sample_refdate" msprop:Generator_ColumnVarNameInTable="columnsample_refdate" msprop:Generator_ColumnPropNameInRow="sample_refdate" msprop:Generator_ColumnPropNameInTable="sample_refdateColumn" msprop:Generator_UserColumnName="sample_refdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="assignment_deadline" msprop:Generator_ColumnVarNameInTable="columnassignment_deadline" msprop:Generator_ColumnPropNameInRow="assignment_deadline" msprop:Generator_ColumnPropNameInTable="assignment_deadlineColumn" msprop:Generator_UserColumnName="assignment_deadline" type="xs:dateTime" />
<xs:element name="responsible_name" msprop:Generator_ColumnVarNameInTable="columnresponsible_name" msprop:Generator_ColumnPropNameInRow="responsible_name" msprop:Generator_ColumnPropNameInTable="responsible_nameColumn" msprop:Generator_UserColumnName="responsible_name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>