Skip to content

Commit e78df3a

Browse files
committed
Preparing Test Schema
1 parent 5f80d96 commit e78df3a

File tree

7 files changed

+110
-2
lines changed

7 files changed

+110
-2
lines changed

T4SQLTemplateLibrary/Databases/Oracle/T4SQLDB/T4SQLDB.modelproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
<Folder Include="Scripts\4-Packages" />
104104
<Folder Include="Scripts\5-Triggers" />
105105
<Folder Include="Scripts\6-InitData" />
106-
<Folder Include="Scripts\7-ResetData" />
107106
<Folder Include="Scripts\2-Sequences" />
108107
</ItemGroup>
109108
</Project>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<modelStoreModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" xmlns:dm1="http://schemas.microsoft.com/dsltools/Kernel" xmlns:dm2="http://schemas.microsoft.com/dsltools/Component" xmlns:dm3="http://schemas.microsoft.com/dsltools/Activity" xmlns:dm4="http://schemas.microsoft.com/dsltools/Interaction" xmlns:dm5="http://schemas.microsoft.com/dsltools/UseCase" xmlns:dm6="http://schemas.microsoft.com/dsltools/UmlModelLibrary" xmlns:dm7="http://schemas.microsoft.com/dsltools/UmlDiagrams" xmlns:dm8="http://schemas.microsoft.com/dsltools/LogicalClassDesigner"
3+
dslVersion="1.0.0.0"
4+
Id="e67e52ab-fa46-4e71-9341-f13e6ceb079e"
5+
name="Test" xmlns="http://schemas.microsoft.com/dsltools/ModelStore">
6+
<profileInstances>
7+
<packageHasProfileInstances
8+
Id="0caec977-1f8c-4ba3-a7db-8cc9ad9cc73b">
9+
<profileInstance
10+
Id="e34d544e-0fea-4ed6-ac5e-1b74119ac791"
11+
name="StandardProfileL2" />
12+
</packageHasProfileInstances>
13+
<packageHasProfileInstances
14+
Id="29349502-908c-4fda-9054-c48619c59ed0">
15+
<profileInstance
16+
Id="532ea607-fb19-44b8-8502-3351b05452be"
17+
name="StandardProfileL3" />
18+
</packageHasProfileInstances>
19+
</profileInstances>
20+
<primitiveType
21+
Id="220a3521-e091-4221-bae9-3ef9018e845c"
22+
name="Integer"
23+
isAbstract="false"
24+
isTemplate="false"
25+
isLeaf="false" />
26+
<primitiveType
27+
Id="8943dc84-709e-4f62-b15a-a3273aa6f165"
28+
name="Boolean"
29+
isAbstract="false"
30+
isTemplate="false"
31+
isLeaf="false" />
32+
<primitiveType
33+
Id="59259974-6d55-42c6-b7bd-763d77ac8ef9"
34+
name="String"
35+
isAbstract="false"
36+
isTemplate="false"
37+
isLeaf="false" />
38+
<primitiveType
39+
Id="3ab42e7d-4969-445a-b209-471f5cb8209c"
40+
name="UnlimitedNatural"
41+
isAbstract="false"
42+
isTemplate="false"
43+
isLeaf="false" />
44+
</modelStoreModel>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BEGIN
2+
IF NOT T4SQL.META.EXISTS_TABLE('test.sample_workspace') AND NOT T4SQL.META.EXISTS_TABLE('test.sample_properties') THEN
3+
T4SQL.META.CREATE_WORKSPACE('test.sample_workspace', 'test.sample_properties', 'Sample Workspace', 'test');
4+
END IF;
5+
END;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GRANT REFERENCES ON T4SQL.TEMPLATE_CLASS TO Test;
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<SchemaVersion>2.0</SchemaVersion>
7+
<ProjectGuid>{1cd496a5-e50e-4bb8-8484-4364d541b95f}</ProjectGuid>
8+
<ArchitectureToolsVersion>1.0.0.0</ArchitectureToolsVersion>
9+
<Name>Test</Name>
10+
<RootNamespace>Test</RootNamespace>
11+
<SccProjectName>SAK</SccProjectName>
12+
<SccProvider>SAK</SccProvider>
13+
<SccAuxPath>SAK</SccAuxPath>
14+
<SccLocalPath>SAK</SccLocalPath>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<OutputPath>bin\Debug\</OutputPath>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
20+
<OutputPath>bin\Release\</OutputPath>
21+
</PropertyGroup>
22+
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\ArchitectureTools\Microsoft.VisualStudio.TeamArchitect.ModelingProject.targets" />
23+
<ItemGroup>
24+
<Content Include="Scripts\2-InitData\1-CreateSampleWorkspace.sql">
25+
<SubType>Content</SubType>
26+
</Content>
27+
<Content Include="Scripts\Privileges.sql">
28+
<SubType>Content</SubType>
29+
</Content>
30+
<Folder Include="ModelDefinition\" />
31+
<Content Include="ModelDefinition\Test.uml">
32+
<SubType>Content</SubType>
33+
</Content>
34+
<Folder Include="Scripts" />
35+
<Folder Include="Scripts\1-Tables" />
36+
<Folder Include="Scripts\2-InitData" />
37+
</ItemGroup>
38+
</Project>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
""
2+
{
3+
"FILE_VERSION" = "9237"
4+
"ENLISTMENT_CHOICE" = "NEVER"
5+
"PROJECT_FILE_RELATIVE_PATH" = ""
6+
"NUMBER_OF_EXCLUDED_FILES" = "0"
7+
"ORIGINAL_PROJECT_FILE_PATH" = ""
8+
"NUMBER_OF_NESTED_PROJECTS" = "0"
9+
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10+
}

T4SQLTemplateLibrary/T4SQLTemplateLibrary.sln

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Oracle", "Oracle", "{2D45E1
7979
EndProject
8080
Project("{F088123C-0E9E-452A-89E6-6BA2F21D5CAC}") = "T4SQLDB", "Databases\Oracle\T4SQLDB\T4SQLDB.modelproj", "{B87CC30F-88EA-471C-B1F7-AEA1DA855273}"
8181
EndProject
82+
Project("{F088123C-0E9E-452A-89E6-6BA2F21D5CAC}") = "Test", "Databases\Oracle\Test\Test.modelproj", "{1CD496A5-E50E-4BB8-8484-4364D541B95F}"
83+
EndProject
8284
Global
8385
GlobalSection(TeamFoundationVersionControl) = preSolution
84-
SccNumberOfProjects = 10
86+
SccNumberOfProjects = 11
8587
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
8688
SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs23
8789
SccLocalPath0 = .
@@ -121,6 +123,10 @@ Global
121123
SccProjectTopLevelParentUniqueName9 = T4SQLTemplateLibrary.sln
122124
SccProjectName9 = Databases/Oracle/T4SQLDB
123125
SccLocalPath9 = Databases\\Oracle\\T4SQLDB
126+
SccProjectUniqueName10 = Databases\\Oracle\\Test\\Test.modelproj
127+
SccProjectTopLevelParentUniqueName10 = T4SQLTemplateLibrary.sln
128+
SccProjectName10 = Databases/Oracle/Test
129+
SccLocalPath10 = Databases\\Oracle\\Test
124130
EndGlobalSection
125131
GlobalSection(SolutionConfigurationPlatforms) = preSolution
126132
Debug|Any CPU = Debug|Any CPU
@@ -165,6 +171,10 @@ Global
165171
{A5DD7958-181E-4D43-BE49-BAE5005ADB6D}.Release|Any CPU.Build.0 = Release|Any CPU
166172
{B87CC30F-88EA-471C-B1F7-AEA1DA855273}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
167173
{B87CC30F-88EA-471C-B1F7-AEA1DA855273}.Release|Any CPU.ActiveCfg = Release|Any CPU
174+
{1CD496A5-E50E-4BB8-8484-4364D541B95F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
175+
{1CD496A5-E50E-4BB8-8484-4364D541B95F}.Debug|Any CPU.Build.0 = Debug|Any CPU
176+
{1CD496A5-E50E-4BB8-8484-4364D541B95F}.Release|Any CPU.ActiveCfg = Release|Any CPU
177+
{1CD496A5-E50E-4BB8-8484-4364D541B95F}.Release|Any CPU.Build.0 = Release|Any CPU
168178
EndGlobalSection
169179
GlobalSection(SolutionProperties) = preSolution
170180
HideSolutionNode = FALSE
@@ -186,5 +196,6 @@ Global
186196
{EFA2A4E4-F055-4068-A437-3E9310E27D73} = {304335BC-9CD9-4D9C-B87B-CE9FBBACAFFA}
187197
{2A1C5C78-2B79-493D-9467-365A50744259} = {F939D93A-F5D6-44B3-80BD-139FA7655866}
188198
{B87CC30F-88EA-471C-B1F7-AEA1DA855273} = {2D45E166-56ED-41F2-AD1E-7E855802C24F}
199+
{1CD496A5-E50E-4BB8-8484-4364D541B95F} = {2D45E166-56ED-41F2-AD1E-7E855802C24F}
189200
EndGlobalSection
190201
EndGlobal

0 commit comments

Comments
 (0)