Skip to content

Commit 38d35a7

Browse files
committed
Added Solution
Added complete solution
1 parent f08cd1e commit 38d35a7

22 files changed

Lines changed: 3193 additions & 0 deletions

CodeGenerator.sln

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 10.00
3+
# Visual Studio 2008
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeGenerator.MVP", "CodeGenerator\CodeGenerator.MVP.csproj", "{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal

CodeGenerator/App.config

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+
<configuration>
3+
<appSettings>
4+
<add key="ConString" value="SqlServer"/>
5+
<add key="ProjectName" value="STS"/>
6+
7+
<!-- For Oracle Database -->
8+
<add key="ConString_Oracle" value="Provider=OraOLEDB.Oracle;Data Source=tvl;User ID=wims_p4;Password=wims_p4;" />
9+
<add key="PkColName" value="NUMID"/>
10+
<add key="RecordCreatorColName" value="STRUID"/>
11+
<add key="RecordModifierColName" value="STRLASTUID"/>
12+
<add key="RecordCreateDateColName" value="DTUDT"/>
13+
<add key="RecordModifiedDateColName" value="DTLASTUDT"/>
14+
15+
<!--For Sql Server Database-->
16+
<add key="ConString_SqlServer" value="Provider=sqloledb;Data Source=PC69;Initial Catalog=STS;User Id=sa;Password=sa1234;" />
17+
<add key="PkColName" value="intPK"/>
18+
<add key="RecordCreatorColName" value="IUser"/>
19+
<add key="RecordModifierColName" value="EUser"/>
20+
<add key="RecordCreateDateColName" value="IDate"/>
21+
<add key="RecordModifiedDateColName" value="EDate"/>
22+
23+
<add key="SaveDirectoty" value="D:\\CodeGeneratorFiles\\" />
24+
<add key="ClientSettingsProvider.ServiceUri" value="" />
25+
</appSettings>
26+
<system.web>
27+
<membership defaultProvider="ClientAuthenticationMembershipProvider">
28+
<providers>
29+
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
30+
</providers>
31+
</membership>
32+
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
33+
<providers>
34+
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
35+
</providers>
36+
</roleManager>
37+
</system.web>
38+
</configuration>

CodeGenerator/App.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="CodeGenerator.MVP.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
StartupUri="SPCreatorUI.xaml">
5+
<Application.Resources>
6+
7+
</Application.Resources>
8+
9+
</Application>

CodeGenerator/App.xaml.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Windows;
7+
8+
namespace CodeGenerator.MVP
9+
{
10+
/// <summary>
11+
/// Interaction logic for App.xaml
12+
/// </summary>
13+
public partial class App : Application
14+
{
15+
}
16+
}
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="3.5" 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+
<ProductVersion>9.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{A7D135B5-3D2D-4E1D-80F7-CF37CC367A6F}</ProjectGuid>
9+
<OutputType>WinExe</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>CodeGenerator.MVP</RootNamespace>
12+
<AssemblyName>CodeGenerator.MVP</AssemblyName>
13+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
16+
<WarningLevel>4</WarningLevel>
17+
<ManifestCertificateThumbprint>B86039CA80B98BED1E1B5867B2710CA2AD6B534A</ManifestCertificateThumbprint>
18+
<ManifestKeyFile>SPCreator_TemporaryKey.pfx</ManifestKeyFile>
19+
<GenerateManifests>true</GenerateManifests>
20+
<SignManifests>false</SignManifests>
21+
<IsWebBootstrapper>true</IsWebBootstrapper>
22+
<ApplicationIcon>
23+
</ApplicationIcon>
24+
<SignAssembly>false</SignAssembly>
25+
<AssemblyOriginatorKeyFile>
26+
</AssemblyOriginatorKeyFile>
27+
<SccProjectName>
28+
</SccProjectName>
29+
<SccLocalPath>
30+
</SccLocalPath>
31+
<SccAuxPath>
32+
</SccAuxPath>
33+
<SccProvider>
34+
</SccProvider>
35+
<PublishUrl>http://localhost/CodeGenerator/</PublishUrl>
36+
<Install>true</Install>
37+
<InstallFrom>Web</InstallFrom>
38+
<UpdateEnabled>true</UpdateEnabled>
39+
<UpdateMode>Background</UpdateMode>
40+
<UpdateInterval>7</UpdateInterval>
41+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
42+
<UpdatePeriodically>true</UpdatePeriodically>
43+
<UpdateRequired>false</UpdateRequired>
44+
<MapFileExtensions>true</MapFileExtensions>
45+
<ApplicationRevision>0</ApplicationRevision>
46+
<ApplicationVersion>1.0.0.0</ApplicationVersion>
47+
<UseApplicationTrust>false</UseApplicationTrust>
48+
<PublishWizardCompleted>true</PublishWizardCompleted>
49+
<BootstrapperEnabled>true</BootstrapperEnabled>
50+
</PropertyGroup>
51+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
52+
<DebugSymbols>true</DebugSymbols>
53+
<DebugType>full</DebugType>
54+
<Optimize>false</Optimize>
55+
<OutputPath>bin\Debug\</OutputPath>
56+
<DefineConstants>DEBUG;TRACE</DefineConstants>
57+
<ErrorReport>prompt</ErrorReport>
58+
<WarningLevel>4</WarningLevel>
59+
</PropertyGroup>
60+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
61+
<DebugType>pdbonly</DebugType>
62+
<Optimize>true</Optimize>
63+
<OutputPath>bin\Release\</OutputPath>
64+
<DefineConstants>TRACE</DefineConstants>
65+
<ErrorReport>prompt</ErrorReport>
66+
<WarningLevel>4</WarningLevel>
67+
</PropertyGroup>
68+
<ItemGroup>
69+
<Reference Include="System" />
70+
<Reference Include="System.configuration" />
71+
<Reference Include="System.Core">
72+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
73+
</Reference>
74+
<Reference Include="System.Web.Extensions">
75+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
76+
</Reference>
77+
<Reference Include="System.Xml.Linq">
78+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
79+
</Reference>
80+
<Reference Include="System.Data.DataSetExtensions">
81+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
82+
</Reference>
83+
<Reference Include="System.Data" />
84+
<Reference Include="System.Xml" />
85+
<Reference Include="WindowsBase" />
86+
<Reference Include="PresentationCore" />
87+
<Reference Include="PresentationFramework" />
88+
</ItemGroup>
89+
<ItemGroup>
90+
<ApplicationDefinition Include="App.xaml">
91+
<Generator>MSBuild:Compile</Generator>
92+
<SubType>Designer</SubType>
93+
</ApplicationDefinition>
94+
<Page Include="SPCreatorUI.xaml">
95+
<Generator>MSBuild:Compile</Generator>
96+
<SubType>Designer</SubType>
97+
</Page>
98+
<Compile Include="App.xaml.cs">
99+
<DependentUpon>App.xaml</DependentUpon>
100+
<SubType>Code</SubType>
101+
</Compile>
102+
<Compile Include="SPCreatorUI.xaml.cs">
103+
<DependentUpon>SPCreatorUI.xaml</DependentUpon>
104+
<SubType>Code</SubType>
105+
</Compile>
106+
</ItemGroup>
107+
<ItemGroup>
108+
<Compile Include="Properties\AssemblyInfo.cs">
109+
<SubType>Code</SubType>
110+
</Compile>
111+
<Compile Include="Properties\Resources.Designer.cs">
112+
<AutoGen>True</AutoGen>
113+
<DesignTime>True</DesignTime>
114+
<DependentUpon>Resources.resx</DependentUpon>
115+
</Compile>
116+
<Compile Include="Properties\Settings.Designer.cs">
117+
<AutoGen>True</AutoGen>
118+
<DependentUpon>Settings.settings</DependentUpon>
119+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
120+
</Compile>
121+
<Compile Include="DAL\SPCreatorDAL.cs" />
122+
<Compile Include="Util\ObjectBuilderBase.cs" />
123+
<Compile Include="Util\ObjectBuilderOracle.cs" />
124+
<Compile Include="Util\ObjectBuilderSqlServer.cs" />
125+
<Compile Include="Util\IObjectBuilder.cs" />
126+
<Compile Include="Util\DbBuilderSqlServer.cs" />
127+
<Compile Include="Util\DbBuilderOracle.cs" />
128+
<Compile Include="Util\IDbBuilder.cs" />
129+
<Compile Include="Util\Utility.cs" />
130+
<EmbeddedResource Include="Properties\Resources.resx">
131+
<Generator>ResXFileCodeGenerator</Generator>
132+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
133+
<SubType>Designer</SubType>
134+
</EmbeddedResource>
135+
<None Include="App.config" />
136+
<None Include="Properties\Settings.settings">
137+
<Generator>SettingsSingleFileGenerator</Generator>
138+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
139+
</None>
140+
<AppDesigner Include="Properties\" />
141+
</ItemGroup>
142+
<ItemGroup>
143+
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
144+
<Visible>False</Visible>
145+
<ProductName>.NET Framework Client Profile</ProductName>
146+
<Install>false</Install>
147+
</BootstrapperPackage>
148+
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
149+
<Visible>False</Visible>
150+
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
151+
<Install>false</Install>
152+
</BootstrapperPackage>
153+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
154+
<Visible>False</Visible>
155+
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
156+
<Install>false</Install>
157+
</BootstrapperPackage>
158+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
159+
<Visible>False</Visible>
160+
<ProductName>.NET Framework 3.5</ProductName>
161+
<Install>true</Install>
162+
</BootstrapperPackage>
163+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
164+
<Visible>False</Visible>
165+
<ProductName>.NET Framework 3.5 SP1</ProductName>
166+
<Install>false</Install>
167+
</BootstrapperPackage>
168+
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
169+
<Visible>False</Visible>
170+
<ProductName>Windows Installer 3.1</ProductName>
171+
<Install>true</Install>
172+
</BootstrapperPackage>
173+
</ItemGroup>
174+
<ItemGroup>
175+
<PublishFile Include="SPCreator.exe.manifest">
176+
<Visible>False</Visible>
177+
<Group>
178+
</Group>
179+
<TargetPath>
180+
</TargetPath>
181+
<PublishState>Auto</PublishState>
182+
<IncludeHash>False</IncludeHash>
183+
<FileType>ManifestEntryPoint</FileType>
184+
</PublishFile>
185+
</ItemGroup>
186+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
187+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
188+
Other similar extension points exist, see Microsoft.Common.targets.
189+
<Target Name="BeforeBuild">
190+
</Target>
191+
<Target Name="AfterBuild">
192+
</Target>
193+
-->
194+
</Project>

0 commit comments

Comments
 (0)