Skip to content

Commit

Permalink
Added missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtavenko committed Apr 30, 2014
1 parent 8ed803e commit 1ffbbbd
Show file tree
Hide file tree
Showing 18 changed files with 30,661 additions and 0 deletions.
55 changes: 55 additions & 0 deletions SqlCop.DemoClient/App_Code/SharedHelpers.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
@using System.Web.Mvc

@helper Example1(){
<a data-sql="SELECT TOP 10 * FROM PUBS" href="#">Example 1</a>
}

@helper Example2(){
<a data-sql="SELECT TOP (10) * FROM PUBS" href="#">Example 2</a>
}


@helper Example3(){
<a data-sql="
CREATE PROCEDURE dbo._Stored_Procedure_Template
(
@@Parameter_1 INT,
@@Parameter_2 VARCHAR(50) = ''
)
AS
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-- Created: mm/dd/yy userid
-- Purpose: (specific description of functionality)
-- Used in: (original page name and/or procedure name)
-- mm/dd/yy userid: Change comment
-- Meaningful code goes here
RETURN;
GO" href="#">Example 3</a>
}

@helper Example4(){
<a data-sql="
CREATE PROCEDURE dbo._Stored_Procedure_Template
(
@@Parameter_1 INT,
@@Parameter_2 VARCHAR(50) = ''
)
AS
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-- Created: mm/dd/yy userid
-- Purpose: (specific description of functionality)
-- Used in: (original page name and/or procedure name)
-- mm/dd/yy userid: Change comment
-- Meaningful code goes here
RETURN;
GO" href="#">Example 4</a>
}
35 changes: 35 additions & 0 deletions SqlCop.DemoClient/Properties/PublishProfiles/LocalIIS.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>Package</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<DesktopBuildPackageLocation>C:\My\SqlCopDeployment\SqlCop.DemoClient.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>SqlCop</DeployIisAppPath>
<PublishDatabaseSettings>
<Objects xmlns="">
<ObjectGroup Name="DefaultConnection" Order="1" Enabled="False">
<Destination Path="" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-SqlCop.DemoClient-20140429081302.mdf;Initial Catalog=aspnet-SqlCop.DemoClient-20140429081302;Integrated Security=True" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
</Object>
<UpdateFrom Type="Web.Config">
<Source MatchValue="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-SqlCop.DemoClient-20140429081302;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-SqlCop.DemoClient-20140429081302.mdf" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String" />
</ItemGroup>
</Project>
2,670 changes: 2,670 additions & 0 deletions SqlCop.DemoClient/Scripts/jquery-2.1.0.intellisense.js

Large diffs are not rendered by default.

Loading

0 comments on commit 1ffbbbd

Please sign in to comment.