This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac34c74
commit 42d9446
Showing
12 changed files
with
295 additions
and
2 deletions.
There are no files selected for viewing
139 changes: 139 additions & 0 deletions
139
...ncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/CraftAndDesignCouncil.Data.dbproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Name>CraftAndDesignCouncil.Data</Name> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectVersion>4.0</ProjectVersion> | ||
<ProjectGuid>{67cbc824-a49e-4e9b-a947-360f3dfe65c3}</ProjectGuid> | ||
<DSP>Microsoft.Data.Schema.Sql.Sql100DatabaseSchemaProvider</DSP> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<ShowWizard>False</ShowWizard> | ||
<OutputType>Database</OutputType> | ||
<RootPath> | ||
</RootPath> | ||
<IncludeSchemaNameInFileName>False</IncludeSchemaNameInFileName> | ||
<ModelCollation>1033, CI</ModelCollation> | ||
<DefaultFileStructure>BySchema</DefaultFileStructure> | ||
<DeployToDatabaseAddToServerExplorer>True</DeployToDatabaseAddToServerExplorer> | ||
<DeployToScript>True</DeployToScript> | ||
<CatalogPropertiesFile>Properties\Database.sqlsettings</CatalogPropertiesFile> | ||
<LoadSqlClrTypes>True</LoadSqlClrTypes> | ||
<RootNamespace>CraftAndDesignCouncil.Data</RootNamespace> | ||
<DefaultSchema>dbo</DefaultSchema> | ||
<PreviousProjectVersion>4.0</PreviousProjectVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>.\sql\release\</OutputPath> | ||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName> | ||
<TargetConnectionString> | ||
</TargetConnectionString> | ||
<TargetDatabase> | ||
</TargetDatabase> | ||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
<SuppressWarnings> | ||
</SuppressWarnings> | ||
<DeploymentConfigFile>Properties\Database.sqldeployment</DeploymentConfigFile> | ||
<SqlCommandVariablesFile>Properties\Database.sqlcmdvars</SqlCommandVariablesFile> | ||
<DeployToDatabase>False</DeployToDatabase> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<OutputPath>.\sql\debug\</OutputPath> | ||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName> | ||
<TargetConnectionString>Data Source=.\SQLExpress;Integrated Security=True;Pooling=False</TargetConnectionString> | ||
<TargetDatabase>CADCAwardsProcess</TargetDatabase> | ||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
<SuppressWarnings> | ||
</SuppressWarnings> | ||
<DeploymentConfigFile>Properties\Database.sqldeployment</DeploymentConfigFile> | ||
<SqlCommandVariablesFile>Properties\Database.sqlcmdvars</SqlCommandVariablesFile> | ||
<DeployToDatabase>False</DeployToDatabase> | ||
</PropertyGroup> | ||
<!--Import the settings--> | ||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" /> | ||
<ItemGroup> | ||
<Folder Include="Scripts" /> | ||
<Folder Include="Scripts\Pre-Deployment" /> | ||
<Folder Include="Scripts\Post-Deployment" /> | ||
<Folder Include="Data Generation Plans" /> | ||
<Folder Include="Schema Comparisons" /> | ||
<Folder Include="Properties\" /> | ||
<Folder Include="Schema Objects\" /> | ||
<Folder Include="Schema Objects\Schemas\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Defaults\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Functions\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Rules\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Stored Procedures\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Types\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Types\User Defined Data Types\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Types\User Defined Types CLR\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Types\User Defined Table Types\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Programmability\Types\XML Schema Collections\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Service Broker\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Service Broker\Queues\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Synonyms\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\Constraints\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\Indexes\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\Keys\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\Triggers\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Tables\Statistics\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Views\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Views\Indexes\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Views\Triggers\" /> | ||
<Folder Include="Schema Objects\Schemas\dbo\Views\Statistics\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Assemblies\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Database Triggers\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Schemas\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Users\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Certificates\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Asymmetric Keys\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Master Keys\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Signatures\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Symmetric Keys\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Database Encryption Keys\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Database Audit Specification\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Roles\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Roles\Application Roles\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Security\Roles\Database Roles\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Broker Priorities\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Contracts\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Event Notifications\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Message Types\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Remote Service Binding\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Routes\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Service Broker\Services\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Full Text Stoplists\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Filegroups\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Files\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Full Text Catalogs\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Partition Functions\" /> | ||
<Folder Include="Schema Objects\Database Level Objects\Storage\Partition Schemes\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PropertiesFile Include="Properties\Database.sqlsettings"> | ||
</PropertiesFile> | ||
<PropertiesFile Include="Properties\Database.sqldeployment"> | ||
</PropertiesFile> | ||
<PropertiesFile Include="Properties\Database.sqlcmdvars"> | ||
</PropertiesFile> | ||
<Build Include="Properties\Database.sqlpermissions"> | ||
<ModelBuilderType>Permissions</ModelBuilderType> | ||
</Build> | ||
<PreDeploy Include="Scripts\Pre-Deployment\Script.PreDeployment.sql"> | ||
<SubType>Code</SubType> | ||
</PreDeploy> | ||
<PostDeploy Include="Scripts\Post-Deployment\Script.PostDeployment.sql"> | ||
<SubType>Code</SubType> | ||
</PostDeploy> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<BuildContributorArgument Include="OutDir=$(OutDir)" /> | ||
</ItemGroup> | ||
</Project> |
6 changes: 6 additions & 0 deletions
6
...Council/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlcmdvars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<SqlCommandVariables xmlns="urn:Microsoft.VisualStudio.Data.Schema.Package.SqlCmdVars" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Version>1.0</Version> | ||
<Properties> | ||
</Properties> | ||
</SqlCommandVariables> |
14 changes: 14 additions & 0 deletions
14
...ncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqldeployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<DeploymentConfigurationSettings xmlns="urn:Microsoft.VisualStudio.Data.Schema.Package.DeploymentConfigurationSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Version>1.0</Version> | ||
<Properties> | ||
<AlwaysCreateNewDatabase>False</AlwaysCreateNewDatabase> | ||
<BlockIncrementalDeploymentIfDataLoss>True</BlockIncrementalDeploymentIfDataLoss> | ||
<DeployDatabaseProperties>True</DeployDatabaseProperties> | ||
<DeploymentCollationPreference>UseSourceModelCollation</DeploymentCollationPreference> | ||
<DoNotUseAlterAssemblyStatementsToUpdateCLRTypes>False</DoNotUseAlterAssemblyStatementsToUpdateCLRTypes> | ||
<GenerateDropsIfNotInProject>False</GenerateDropsIfNotInProject> | ||
<PerformDatabaseBackup>False</PerformDatabaseBackup> | ||
<SingleUserMode>False</SingleUserMode> | ||
</Properties> | ||
</DeploymentConfigurationSettings> |
44 changes: 44 additions & 0 deletions
44
...cil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlpermissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Permissions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:Microsoft.VisualStudio.Data.Schema.Permissions" Version="1.0"> | ||
<!-- The examples below are provided to illustrate how permissions | ||
are defined in the project system for Databases, Objects, | ||
and Columns. | ||
GRANT Database Permissions | ||
<PermissionStatement Action ="GRANT"> | ||
<Permission>CREATE TABLE</Permission> | ||
<Grantee>User1</Grantee> | ||
</PermissionStatement> | ||
GRANT Object Permission | ||
<PermissionStatement Action ="GRANT"> | ||
<Permission>SELECT</Permission> | ||
<Grantee>User1</Grantee> | ||
<Object Name ="Table1" Schema ="User1" Type ="OBJECT"/> | ||
</PermissionStatement> | ||
DENY Object Permission | ||
<PermissionStatement Action ="DENY"> | ||
<Permission>DELETE</Permission> | ||
<Grantee>User1</Grantee> | ||
<Object Name ="Table1" Schema ="User1" Type ="OBJECT"/> | ||
</PermissionStatement> | ||
GRANT Object Column Permission | ||
<PermissionStatement Action ="GRANT"> | ||
<Permission>SELECT</Permission> | ||
<Grantee>User1</Grantee> | ||
<Object Name ="Table1" Schema ="User1" Type ="OBJECT"> | ||
<Columns Treatment ="INCLUDE"> | ||
<Column Name="Col1"/> | ||
<Column Name="Col2"/> | ||
<Column Name="…"/> | ||
</Columns> | ||
</Object> | ||
</PermissionStatement> | ||
--> | ||
</Permissions> |
52 changes: 52 additions & 0 deletions
52
...ouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Data/Properties/Database.sqlsettings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<CatalogProperties xmlns="urn:Microsoft.VisualStudio.Data.Schema.Package.CatalogProperties" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Version>1.0</Version> | ||
<Properties> | ||
<!--Sql Server 2000--> | ||
<DefaultCollation>SQL_Latin1_General_CP1_CI_AS</DefaultCollation> | ||
<AnsiNullDefault>True</AnsiNullDefault> | ||
<AnsiNulls>True</AnsiNulls> | ||
<AnsiPadding>True</AnsiPadding> | ||
<AnsiWarnings>True</AnsiWarnings> | ||
<ArithAbort>True</ArithAbort> | ||
<ConcatNullYieldsNull>True</ConcatNullYieldsNull> | ||
<QuotedIdentifier>True</QuotedIdentifier> | ||
<NumericRoundAbort>False</NumericRoundAbort> | ||
<RecursiveTriggersEnabled>False</RecursiveTriggersEnabled> | ||
<DatabaseState>ONLINE</DatabaseState> | ||
<UpdateOptions>READ_WRITE</UpdateOptions> | ||
<CloseCursorOnCommitEnabled>False</CloseCursorOnCommitEnabled> | ||
<DefaultCursor>LOCAL</DefaultCursor> | ||
<AutoClose>False</AutoClose> | ||
<AutoCreateStatistics>True</AutoCreateStatistics> | ||
<AutoShrink>False</AutoShrink> | ||
<AutoUpdateStatistics>True</AutoUpdateStatistics> | ||
<TornPageDetection>False</TornPageDetection> | ||
<DatabaseAccess>MULTI_USER</DatabaseAccess> | ||
<Recovery>FULL</Recovery> | ||
<EnableFullTextSearch>True</EnableFullTextSearch> | ||
<DatabaseChaining>False</DatabaseChaining> | ||
<DefaultFilegroup>PRIMARY</DefaultFilegroup> | ||
<!--Sql Server 2005--> | ||
<!--<CompatibilityMode></CompatibilityMode>--> | ||
<Trustworthy>False</Trustworthy> | ||
<AutoUpdateStatisticsAsynchronously>False</AutoUpdateStatisticsAsynchronously> | ||
<PageVerify>NONE</PageVerify> | ||
<ServiceBrokerOption>DisableBroker</ServiceBrokerOption> | ||
<DateCorrelationOptimizationOn>False</DateCorrelationOptimizationOn> | ||
<Parameterization>SIMPLE</Parameterization> | ||
<AllowSnapshotIsolation>False</AllowSnapshotIsolation> | ||
<ReadCommittedSnapshot>False</ReadCommittedSnapshot> | ||
<VardecimalStorageFormatOn>True</VardecimalStorageFormatOn> | ||
<SupplementalLoggingOn>False</SupplementalLoggingOn> | ||
<!--Sql Server 2008--> | ||
<DefaultFileStreamFilegroup></DefaultFileStreamFilegroup> | ||
<IsChangeTrackingOn>False</IsChangeTrackingOn> | ||
<IsChangeTrackingAutoCleanupOn>True</IsChangeTrackingAutoCleanupOn> | ||
<ChangeTrackingRetentionPeriod>2</ChangeTrackingRetentionPeriod> | ||
<ChangeTrackingRetentionUnit>Days</ChangeTrackingRetentionUnit> | ||
<IsEncryptionOn>False</IsEncryptionOn> | ||
<IsBrokerPriorityHonored>False</IsBrokerPriorityHonored> | ||
</Properties> | ||
</CatalogProperties> | ||
|
11 changes: 11 additions & 0 deletions
11
...ss/Solutions/CraftAndDesignCouncil.Data/Scripts/Post-Deployment/Script.PostDeployment.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
Post-Deployment Script Template | ||
-------------------------------------------------------------------------------------- | ||
This file contains SQL statements that will be appended to the build script. | ||
Use SQLCMD syntax to include a file in the post-deployment script. | ||
Example: :r .\myfile.sql | ||
Use SQLCMD syntax to reference a variable in the post-deployment script. | ||
Example: :setvar TableName MyTable | ||
SELECT * FROM [$(TableName)] | ||
-------------------------------------------------------------------------------------- | ||
*/ |
11 changes: 11 additions & 0 deletions
11
...cess/Solutions/CraftAndDesignCouncil.Data/Scripts/Pre-Deployment/Script.PreDeployment.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
Pre-Deployment Script Template | ||
-------------------------------------------------------------------------------------- | ||
This file contains SQL statements that will be executed before the build script. | ||
Use SQLCMD syntax to include a file in the pre-deployment script. | ||
Example: :r .\myfile.sql | ||
Use SQLCMD syntax to reference a variable in the pre-deployment script. | ||
Example: :setvar TableName MyTable | ||
SELECT * FROM [$(TableName)] | ||
-------------------------------------------------------------------------------------- | ||
*/ |
2 changes: 1 addition & 1 deletion
2
...ithsDesignCouncil/AwardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/NHibernate.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...ardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/bin/CraftAndDesignCouncil.Web.Mvc.dll
Binary file not shown.
Binary file modified
BIN
+8 KB
(130%)
...ardsProcess/Solutions/CraftAndDesignCouncil.Web.Mvc/bin/CraftAndDesignCouncil.Web.Mvc.pdb
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters