Merge pull request #177 from jaredmoo/SampleBuild
Update samples to new build system
This commit is contained in:
Коммит
270a6afe34
|
@ -11,37 +11,134 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.SqlDatabase
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.SqlDatabase.ElasticScale.Query.UnitTests", "Test\ElasticScale.Query.UnitTests\Microsoft.Azure.SqlDatabase.ElasticScale.Query.UnitTests.csproj", "{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.SqlDatabase.ElasticScale.Query.UnitTests", "Test\ElasticScale.Query.UnitTests\Microsoft.Azure.SqlDatabase.ElasticScale.Query.UnitTests.csproj", "{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticScaleStarterKit", "Samples\ElasticScaleStarterKit\ElasticScaleStarterKit.csproj", "{115A0283-AC42-4D37-97F2-106D168E04D2}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkMultiTenant", "Samples\EFMultiTenant\EntityFrameworkMultiTenant.csproj", "{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkCodeFirst", "Samples\EFCodeFirst\EntityFrameworkCodeFirst.csproj", "{8EB66613-D5A2-4683-B91A-6AF904FD6B70}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElasticDapper", "Samples\Dapper\ElasticDapper.csproj", "{AC76C04B-881E-4CB9-B491-4D19B68459F1}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShardSqlCmd", "Samples\ShardSqlCmd\ShardSqlCmd.csproj", "{B210D6E5-7171-4117-9C77-3F2CB59D04D8}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Cover|Any CPU = Cover|Any CPU
|
Cover|Any CPU = Cover|Any CPU
|
||||||
|
Cover|x86 = Cover|x86
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Cover|x86.Build.0 = Release|Any CPU
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|Any CPU.Build.0 = Release|Any CPU
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{4C3B3EC4-5702-469E-800E-313FB27A0A2B}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Cover|x86.Build.0 = Release|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|Any CPU.Build.0 = Release|Any CPU
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{9336E9E7-19BF-49AC-92E3-19FA6B98921E}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Cover|x86.Build.0 = Release|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|Any CPU.Build.0 = Release|Any CPU
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{BEA6F911-BA98-462C-99AF-3B0595DE2307}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Cover|x86.Build.0 = Release|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|Any CPU.Build.0 = Release|Any CPU
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{74CEE77F-D2C7-4B8B-9411-8F97F4E803FA}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Cover|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Cover|x86.Build.0 = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{115A0283-AC42-4D37-97F2-106D168E04D2}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Cover|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Cover|x86.Build.0 = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{BC17F3EF-FEB4-4186-9342-E2D18F1E56AB}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Cover|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Cover|x86.Build.0 = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{8EB66613-D5A2-4683-B91A-6AF904FD6B70}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Cover|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Cover|x86.Build.0 = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{AC76C04B-881E-4CB9-B491-4D19B68459F1}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Cover|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Cover|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Cover|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Cover|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B210D6E5-7171-4117-9C77-3F2CB59D04D8}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -1,43 +1,17 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectGuid>{7B67F0A1-A5A9-477B-9B7E-FA2E16ED34DE}</ProjectGuid>
|
<TargetFrameworks>net451</TargetFrameworks>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ElasticDapper</RootNamespace>
|
|
||||||
<AssemblyName>ElasticDapper</AssemblyName>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
|
||||||
BUILD PROCESS FOR SAMPLES GALLERY
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- The file that gets transformed into the user's csproj when they create a new project from the samples gallery -->
|
<PackageReference Include="Dapper" version="1.36" />
|
||||||
<SamplesGalleryProjectInput Include="ElasticDapper.csproj.SamplesGallery" />
|
<PackageReference Include="DapperExtensions" version="1.4.4" />
|
||||||
<!-- The file that gets transformed into the user's sln when they create a new project from the samples gallery -->
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" />
|
||||||
<SamplesGallerySolutionInput Include="ElasticDapper.sln.SamplesGallery" />
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" />
|
||||||
</ItemGroup>
|
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="2.0.0" />
|
||||||
<Import Project="..\SamplesGallery.targets" />
|
|
||||||
<!--
|
|
||||||
Any changes below must be copied to ShardSqlCmd.csproj.SamplesGallery, except:
|
|
||||||
- $(NugetPack) must be replaced with ..\packages
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\net45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\Dapper.1.36\lib\net45\Dapper.dll">
|
|
||||||
<Name>Dapper</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\DapperExtensions.1.4.4\lib\net40\DapperExtensions.dll">
|
|
||||||
<Name>DapperExtensions</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
|
@ -49,19 +23,9 @@
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
<None Include="LICENSE" />
|
<None Include="LICENSE" />
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,75 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{AF5647D3-BB21-4708-897C-0066F3677B80}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ElasticDapper</RootNamespace>
|
|
||||||
<AssemblyName>ElasticDapper</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\net45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\Dapper.1.36\lib\net45\Dapper.dll">
|
|
||||||
<Name>Dapper</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\DapperExtensions.1.4.4\lib\net40\DapperExtensions.dll">
|
|
||||||
<Name>DapperExtensions</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
|
||||||
<Reference Include="System.Configuration" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Transactions" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config" />
|
|
||||||
<None Include="LICENSE" />
|
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2012
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticDapper", "ElasticDapper\ElasticDapper.csproj", "{AF5647D3-BB21-4708-897C-0066F3677B80}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{AF5647D3-BB21-4708-897C-0066F3677B80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{AF5647D3-BB21-4708-897C-0066F3677B80}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{AF5647D3-BB21-4708-897C-0066F3677B80}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{AF5647D3-BB21-4708-897C-0066F3677B80}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
|
@ -5,27 +5,10 @@ using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("ElasticDapper")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="Dapper" version="1.36" targetFramework="net45" />
|
|
||||||
<package id="DapperExtensions" version="1.4.4" targetFramework="net45" />
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" targetFramework="net45" />
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" targetFramework="net45" />
|
|
||||||
<package id="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="1.3.2" targetFramework="net45" />
|
|
||||||
</packages>
|
|
|
@ -1,45 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
<TargetFrameworks>net451</TargetFrameworks>
|
||||||
<ProjectGuid>{904469F9-427C-4B9F-A30D-B63E53BEB489}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>EntityFrameworkCodeFirst</RootNamespace>
|
|
||||||
<AssemblyName>EntityFrameworkCodeFirst</AssemblyName>
|
|
||||||
<!-- Disable FxCop - fixing these warnings is low priority -->
|
|
||||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
|
||||||
BUILD PROCESS FOR SAMPLES GALLERY
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- The file that gets transformed into the user's csproj when they create a new project from the samples gallery -->
|
<PackageReference Include="EntityFramework" Version="6.1.0" />
|
||||||
<SamplesGalleryProjectInput Include="EntityFrameworkCodeFirst.csproj.SamplesGallery" />
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||||
<!-- The file that gets transformed into the user's sln when they create a new project from the samples gallery -->
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||||
<SamplesGallerySolutionInput Include="EntityFrameworkCodeFirst.sln.SamplesGallery" />
|
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\SamplesGallery.targets" />
|
|
||||||
<!--
|
|
||||||
Any changes below must be copied to EntityFrameworkCodeFirst.csproj.SamplesGallery, except:
|
|
||||||
- $(NugetPack) must be replaced with ..\packages
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="$(NugetPack)\EntityFramework.6.1.0\lib\net45\EntityFramework.dll">
|
|
||||||
<Name>EntityFramework</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll">
|
|
||||||
<Name>EntityFramework.SqlServer</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\NET45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
|
@ -51,54 +22,9 @@
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="ElasticScaleDbConfiguration.cs" />
|
<None Include="App.config" />
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="ElasticScaleContext.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.Designer.cs">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.cs" />
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.Designer.cs">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.cs" />
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.Designer.cs">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.cs" />
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.Designer.cs">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\Configuration.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
<None Include="LICENSE"/>
|
<None Include="LICENSE"/>
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280437372_InitialCreate.resx">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280633219_AddUrl.resx">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280638095_AddUser.resx">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280640127_ChangeDisplayName.resx">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,110 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>EntityFrameworkCodeFirst</RootNamespace>
|
|
||||||
<AssemblyName>EntityFrameworkCodeFirst</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="..\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.dll">
|
|
||||||
<Name>EntityFramework</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll">
|
|
||||||
<Name>EntityFramework.SqlServer</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\net45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
|
||||||
<Reference Include="System.Configuration" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Transactions" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="ElasticScaleDbConfiguration.cs" />
|
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="ElasticScaleContext.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.Designer.cs">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.cs" />
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.Designer.cs">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.cs" />
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.Designer.cs">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.cs" />
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.Designer.cs">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\Configuration.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
<None Include="LICENSE"/>
|
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280437372_InitialCreate.resx">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280633219_AddUrl.resx">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280638095_AddUser.resx">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280640127_ChangeDisplayName.resx">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2012
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCodeFirst", "EntityFrameworkCodeFirst\EntityFrameworkCodeFirst.csproj", "{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
|
@ -5,12 +5,6 @@ using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("EntityFrameworkCodeFirst")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// to COM components. If you need to access a type in this assembly from
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
@ -18,14 +12,3 @@ using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" targetFramework="net45" />
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" targetFramework="net45" />
|
|
||||||
<package id="EntityFramework" version="6.1.0" targetFramework="net45" />
|
|
||||||
<package id="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="1.3.2" targetFramework="net45" />
|
|
||||||
</packages>
|
|
|
@ -1,45 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
<TargetFrameworks>net451</TargetFrameworks>
|
||||||
<ProjectGuid>{9ad1ddf3-213c-47b1-b136-733c9fff9fd1}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>EntityFrameworkMultiTenant</RootNamespace>
|
|
||||||
<AssemblyName>EntityFrameworkMultiTenant</AssemblyName>
|
|
||||||
<!-- Disable FxCop - fixing these warnings is low priority -->
|
|
||||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
|
||||||
BUILD PROCESS FOR SAMPLES GALLERY
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- The file that gets transformed into the user's csproj when they create a new project from the samples gallery -->
|
<PackageReference Include="EntityFramework" Version="6.1.0" />
|
||||||
<SamplesGalleryProjectInput Include="EntityFrameworkMultiTenant.csproj.SamplesGallery" />
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||||
<!-- The file that gets transformed into the user's sln when they create a new project from the samples gallery -->
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||||
<SamplesGallerySolutionInput Include="EntityFrameworkMultiTenant.sln.SamplesGallery" />
|
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\SamplesGallery.targets" />
|
|
||||||
<!--
|
|
||||||
Any changes below must be copied to EntityFrameworkMultiTenant.csproj.SamplesGallery, except:
|
|
||||||
- $(NugetPack) must be replaced with ..\packages
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="$(NugetPack)\EntityFramework.6.1.0\lib\net45\EntityFramework.dll">
|
|
||||||
<Name>EntityFramework</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll">
|
|
||||||
<Name>EntityFramework.SqlServer</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\NET45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
|
@ -51,66 +22,15 @@
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="ElasticScaleDbConfiguration.cs" />
|
<None Include="App.config" />
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="ElasticScaleContext.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.Designer.cs">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.cs" />
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.Designer.cs">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.cs" />
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.Designer.cs">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.cs" />
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.Designer.cs">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201504020051125_AddTenantId.cs" />
|
|
||||||
<Compile Include="Migrations\201504020051125_AddTenantId.Designer.cs">
|
|
||||||
<DependentUpon>201504020051125_AddTenantId.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\Configuration.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
<None Include="ApplySqlToShards.ps1" />
|
<None Include="ApplySqlToShards.ps1" />
|
||||||
<None Include="LICENSE" />
|
<None Include="LICENSE" />
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280437372_InitialCreate.resx">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280633219_AddUrl.resx">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280638095_AddUser.resx">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280640127_ChangeDisplayName.resx">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201504020051125_AddTenantId.resx">
|
|
||||||
<DependentUpon>201504020051125_AddTenantId.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="EnableRLS.sql" />
|
<Content Include="EnableRLS.sql" />
|
||||||
<Content Include="RemoveRLS.sql" />
|
<Content Include="RemoveRLS.sql" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,122 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>EntityFrameworkMultiTenant</RootNamespace>
|
|
||||||
<AssemblyName>EntityFrameworkMultiTenant</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="..\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.dll">
|
|
||||||
<Name>EntityFramework</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll">
|
|
||||||
<Name>EntityFramework.SqlServer</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\NET45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
|
||||||
<Reference Include="System.Configuration" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Transactions" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="ElasticScaleDbConfiguration.cs" />
|
|
||||||
<Compile Include="DataClasses.cs" />
|
|
||||||
<Compile Include="ElasticScaleContext.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.cs" />
|
|
||||||
<Compile Include="Migrations\201405280437372_InitialCreate.Designer.cs">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.cs" />
|
|
||||||
<Compile Include="Migrations\201405280633219_AddUrl.Designer.cs">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.cs" />
|
|
||||||
<Compile Include="Migrations\201405280638095_AddUser.Designer.cs">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.cs" />
|
|
||||||
<Compile Include="Migrations\201405280640127_ChangeDisplayName.Designer.cs">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\201504020051125_AddTenantId.cs" />
|
|
||||||
<Compile Include="Migrations\201504020051125_AddTenantId.Designer.cs">
|
|
||||||
<DependentUpon>201504020051125_AddTenantId.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Migrations\Configuration.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Sharding.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
<None Include="ApplySqlToShards.ps1" />
|
|
||||||
<None Include="LICENSE" />
|
|
||||||
<None Include="packages.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280437372_InitialCreate.resx">
|
|
||||||
<DependentUpon>201405280437372_InitialCreate.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280633219_AddUrl.resx">
|
|
||||||
<DependentUpon>201405280633219_AddUrl.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280638095_AddUser.resx">
|
|
||||||
<DependentUpon>201405280638095_AddUser.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201405280640127_ChangeDisplayName.resx">
|
|
||||||
<DependentUpon>201405280640127_ChangeDisplayName.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Migrations\201504020051125_AddTenantId.resx">
|
|
||||||
<DependentUpon>201504020051125_AddTenantId.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="EnableRLS.sql" />
|
|
||||||
<Content Include="RemoveRLS.sql" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2012
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkMultiTenant", "EntityFrameworkMultiTenant\EntityFrameworkMultiTenant.csproj", "{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{7b67f0a1-a5a9-477b-9b7e-fa2e16ed34de}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
|
@ -5,27 +5,10 @@ using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("EntityFrameworkCodeFirst_MultiTenant")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
[assembly: Guid("1e1f1152-0ac3-4631-b801-33bd9ec84fa9")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" targetFramework="net45" />
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" targetFramework="net45" />
|
|
||||||
<package id="EntityFramework" version="6.1.0" targetFramework="net45" />
|
|
||||||
<package id="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="1.3.2" targetFramework="net45" />
|
|
||||||
</packages>
|
|
|
@ -4,17 +4,20 @@
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<!--
|
<!--
|
||||||
The server name of the database to connect to. Do not include the https:// prefix of the Azure SQL DB server URL.
|
The SQL server to connect to. Defaults to localdb default instance.
|
||||||
Typically, the server name looks like this: abcdefghij.database.windows.net
|
|
||||||
|
When using Azure SQL DB, use the fully qualified DNS name like "abcdefghij.database.windows.net"
|
||||||
Edit this field before running the application.
|
|
||||||
-->
|
-->
|
||||||
<add key="ServerName" value="MyServerName.database.windows.net" />
|
<add key="ServerName" value="(localdb)\v11.0" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Set to false to use SQL Authentication instead of Windows Authentication.
|
||||||
|
This is useful when connecting to Azure SQL DB.
|
||||||
|
-->
|
||||||
|
<add key="IntegratedSecurity" value="true" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Credentials for connecting to your Azure SQL DB server.
|
Credentials for connecting to your SQL server if using SQL authentication.
|
||||||
|
|
||||||
Edit these fields before running the application.
|
|
||||||
-->
|
-->
|
||||||
<add key="UserName" value="MyUserName" />
|
<add key="UserName" value="MyUserName" />
|
||||||
<add key="Password" value="MyPassword" />
|
<add key="Password" value="MyPassword" />
|
||||||
|
@ -23,12 +26,6 @@
|
||||||
The database edition to use when creating databases for this sample in Azure SQL DB.
|
The database edition to use when creating databases for this sample in Azure SQL DB.
|
||||||
-->
|
-->
|
||||||
<add key="DatabaseEdition" value="Basic" />
|
<add key="DatabaseEdition" value="Basic" />
|
||||||
|
|
||||||
<!--
|
|
||||||
Set to true to enable Windows Authentication instead of SQL Authentication.
|
|
||||||
This is useful only if connecting to a local SQL Server database instead of Azure SQL DB.
|
|
||||||
-->
|
|
||||||
<add key="IntegratedSecurity" value="false" />
|
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<system.diagnostics>
|
<system.diagnostics>
|
||||||
<trace>
|
<trace>
|
||||||
|
|
|
@ -1,37 +1,15 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
<TargetFrameworks>net451</TargetFrameworks>
|
||||||
<ProjectGuid>{115A0283-AC42-4D37-97F2-106D168E04D2}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ElasticScaleStarterKit</RootNamespace>
|
|
||||||
<AssemblyName>ElasticScaleStarterKit</AssemblyName>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
|
||||||
BUILD PROCESS FOR SAMPLES GALLERY
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- The file that gets transformed into the user's csproj when they create a new project from the samples gallery -->
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||||
<SamplesGalleryProjectInput Include="ElasticScaleStarterKit.csproj.SamplesGallery" />
|
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||||
<!-- The file that gets transformed into the user's sln when they create a new project from the samples gallery -->
|
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||||
<SamplesGallerySolutionInput Include="ElasticScaleStarterKit.sln.SamplesGallery" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\SamplesGallery.targets" />
|
|
||||||
<!--
|
|
||||||
Any changes below must be copied to ElasticScaleStarterKit.csproj.SamplesGallery except:
|
|
||||||
- "$(NugetPack)" must be replaced with "..\packages"
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\NET45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="$(NugetPack)\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
@ -41,27 +19,13 @@
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="CreateShardSample.cs" />
|
|
||||||
<Compile Include="Configuration.cs" />
|
|
||||||
<Compile Include="ConsoleUtils.cs" />
|
|
||||||
<Compile Include="DataDependentRoutingSample.cs" />
|
|
||||||
<Compile Include="MultiShardQuerySample.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="TableFormatter.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
<Compile Include="ShardManagementUtils.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
<None Include="LICENSE" />
|
<None Include="LICENSE" />
|
||||||
<None Include="packages.config" />
|
|
||||||
<None Include="README.txt" />
|
<None Include="README.txt" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="InitializeShard.sql">
|
<None Include="InitializeShard.sql">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,75 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ElasticScaleStarterKit</RootNamespace>
|
|
||||||
<AssemblyName>ElasticScaleStarterKit</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.6.0.1304.0\lib\portable-net45+win+wp8\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1\lib\NET45\Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll">
|
|
||||||
<Name>Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="..\packages\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Configuration" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="ConsoleUtils.cs" />
|
|
||||||
<Compile Include="Configuration.cs" />
|
|
||||||
<Compile Include="CreateShardSample.cs" />
|
|
||||||
<Compile Include="DataDependentRoutingSample.cs" />
|
|
||||||
<Compile Include="MultiShardQuerySample.cs" />
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="SqlDatabaseUtils.cs" />
|
|
||||||
<Compile Include="ShardManagementUtils.cs" />
|
|
||||||
<Compile Include="TableFormatter.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config" />
|
|
||||||
<None Include="LICENSE" />
|
|
||||||
<None Include="packages.config" />
|
|
||||||
<None Include="README.txt" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="InitializeShard.sql">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2012
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticScaleStarterKit", "ElasticScaleStarterKit\ElasticScaleStarterKit.csproj", "{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{576e2fb9-a842-457c-ba5b-5e53a2fa11a9}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" targetFramework="net45" />
|
|
||||||
<package id="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" targetFramework="net45" />
|
|
||||||
<package id="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="1.3.2" targetFramework="net45" />
|
|
||||||
</packages>
|
|
|
@ -1,43 +1,20 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
<TargetFrameworks>net451</TargetFrameworks>
|
||||||
<ProjectGuid>{A95C04CC-3CEE-42ED-BB17-2B9850E374FB}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ShardSqlCmd</RootNamespace>
|
|
||||||
<AssemblyName>ShardSqlCmd</AssemblyName>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
|
||||||
BUILD PROCESS FOR SAMPLES GALLERY
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- The file that gets transformed into the user's csproj when they create a new project from the samples gallery -->
|
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="2.0.0" />
|
||||||
<SamplesGalleryProjectInput Include="ShardSqlCmd.csproj.SamplesGallery" />
|
|
||||||
<!-- The file that gets transformed into the user's sln when they create a new project from the samples gallery -->
|
|
||||||
<SamplesGallerySolutionInput Include="ShardSqlCmd.sln.SamplesGallery" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\SamplesGallery.targets" />
|
|
||||||
<!--
|
|
||||||
Any changes below must be copied to ShardSqlCmd.csproj.SamplesGallery, except:
|
|
||||||
- $(NugetPack) must be replaced with ..\packages
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="$(NugetPack)\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="TableFormatter.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="LICENSE" />
|
<None Include="LICENSE" />
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{2ab5293c-a5bd-450a-ac49-6dd182a3163a}</ProjectGuid>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>ShardSqlCmd</RootNamespace>
|
|
||||||
<AssemblyName>ShardSqlCmd</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="..\packages\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.3.2\lib\net45\Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll">
|
|
||||||
<Name>Microsoft.Azure.SqlDatabase.ElasticScale.Client</Name>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="TableFormatter.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="LICENSE" />
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2012
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShardSqlCmd", "ShardSqlCmd\ShardSqlCmd.csproj", "{2ab5293c-a5bd-450a-ac49-6dd182a3163a}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{2ab5293c-a5bd-450a-ac49-6dd182a3163a}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{2ab5293c-a5bd-450a-ac49-6dd182a3163a}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{2ab5293c-a5bd-450a-ac49-6dd182a3163a}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{2ab5293c-a5bd-450a-ac49-6dd182a3163a}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
Загрузка…
Ссылка в новой задаче