添加项目文件。
This commit is contained in:
22
TightWiki.Repository/Scripts/GetFlatConfiguration.sql
Normal file
22
TightWiki.Repository/Scripts/GetFlatConfiguration.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
SELECT
|
||||
CG.Id as [GroupId],
|
||||
CG.[Name] as [GroupName],
|
||||
CG.[Description] as [GroupDescription],
|
||||
|
||||
CE.[Id] as [EntryId],
|
||||
CE.[Name] as [EntryName],
|
||||
CE.[Value] as [EntryValue],
|
||||
CE.[Description] as [EntryDescription],
|
||||
CE.IsEncrypted,
|
||||
CE.IsRequired,
|
||||
|
||||
DT.[Name] as DataType
|
||||
FROM
|
||||
[ConfigurationEntry] as CE
|
||||
INNER JOIN [ConfigurationGroup] as CG
|
||||
ON CG.Id = CE.ConfigurationGroupId
|
||||
INNER JOIN DataType as DT
|
||||
ON DT.Id = CE.DataTypeId
|
||||
ORDER BY
|
||||
CG.[Name],
|
||||
CE.[Name]
|
||||
Reference in New Issue
Block a user