Skip to content

Commit d885c16

Browse files
committed
Remove submodule; use NuGet for STPC
1 parent 3ad2261 commit d885c16

File tree

7 files changed

+7
-36
lines changed

7 files changed

+7
-36
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
Because StaTypPocoQueries.Core includes support for F# quotations, bringing FSharp.Core along for the ride, this library supports those as well.
1010

11-
Note that the NuGet package include its own copy of StaTypPocoQueries.Core, rather than referencing that library's NuGet package. This is so that the package can target .NET 4.5 as well as .NET Standard 2.0 (the published NuGet for StaTypPocoQueries.Core is .NET Standard only). The private version also uppercases reserved words in the generated SQL that are lowercased in the published version.
12-
1311
## Usage
1412

1513
These examples assume that `Database.EnableAutoSelect == true`, so that the `SELECT` (or `DELETE`) portion of the SQL command is generated for you based on your POCO class. For this reason, the library cannot be used with `dynamic`.

StaTypPocoQueries.PetaPoco.sln

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StaTypPocoQueries.PetaPoco"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StaTypPocoQueries.PetaPoco.Tests", "StaTypPocoQueries.PetaPoco.Tests\StaTypPocoQueries.PetaPoco.Tests.csproj", "{EDAC5415-091B-4A11-9D1C-13D79529556E}"
99
EndProject
10-
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "StaTypPocoQueries.Core", "statically-typed-poco-queries\StaTypPocoQueries.Core\StaTypPocoQueries.Core.fsproj", "{3A8693E2-CD22-4D15-8390-40B65890ABC8}"
11-
EndProject
12-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StaTypPocoQueries.Core.Tests", "statically-typed-poco-queries\StaTypPocoQueries.Core.Tests\StaTypPocoQueries.Core.Tests.csproj", "{EEE97224-ED40-4027-9522-6ABF0CAADDDD}"
13-
EndProject
1410
Global
1511
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1612
Debug|Any CPU = Debug|Any CPU
@@ -25,14 +21,6 @@ Global
2521
{EDAC5415-091B-4A11-9D1C-13D79529556E}.Debug|Any CPU.Build.0 = Debug|Any CPU
2622
{EDAC5415-091B-4A11-9D1C-13D79529556E}.Release|Any CPU.ActiveCfg = Release|Any CPU
2723
{EDAC5415-091B-4A11-9D1C-13D79529556E}.Release|Any CPU.Build.0 = Release|Any CPU
28-
{3A8693E2-CD22-4D15-8390-40B65890ABC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29-
{3A8693E2-CD22-4D15-8390-40B65890ABC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
30-
{3A8693E2-CD22-4D15-8390-40B65890ABC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
31-
{3A8693E2-CD22-4D15-8390-40B65890ABC8}.Release|Any CPU.Build.0 = Release|Any CPU
32-
{EEE97224-ED40-4027-9522-6ABF0CAADDDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33-
{EEE97224-ED40-4027-9522-6ABF0CAADDDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
34-
{EEE97224-ED40-4027-9522-6ABF0CAADDDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
35-
{EEE97224-ED40-4027-9522-6ABF0CAADDDD}.Release|Any CPU.Build.0 = Release|Any CPU
3624
EndGlobalSection
3725
GlobalSection(SolutionProperties) = preSolution
3826
HideSolutionNode = FALSE

Directory.Build.props renamed to StaTypPocoQueries.PetaPoco/Directory.Build.props

File renamed without changes.

StaTypPocoQueries.PetaPoco/StaTypPocoQueries.PetaPoco.csproj

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,16 @@
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
88
<Description>PetaPoco bindings for StaTypPocoQueries.</Description>
99
<Authors>Aaron Sherber</Authors>
10-
<NuspecFile>StaTypPocoQueries.PetaPoco.nuspec</NuspecFile>
1110
<Copyright>Copyright 2018</Copyright>
11+
<PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
12+
<PackageProjectUrl>https://github.com/asherber/StaTypPocoQueries.PetaPoco</PackageProjectUrl>
13+
<PackageIconUrl>https://raw.githubusercontent.com/asherber/StaTypPocoQueries.PetaPoco/master/media/static-64.png</PackageIconUrl>
14+
<PackageTags>petapoco statyppocoqueries statically typed</PackageTags>
15+
<PackageReleaseNotes>Use published StaTypPocoQueries instead of private build.</PackageReleaseNotes>
1216
</PropertyGroup>
1317

1418
<ItemGroup>
1519
<PackageReference Include="PetaPoco.Compiled" Version="[6.0.353,7.0)" />
20+
<PackageReference Include="StaTypPocoQueries.Core" Version="[1.7,2)" />
1621
</ItemGroup>
17-
18-
<ItemGroup>
19-
<ProjectReference Include="..\statically-typed-poco-queries\StaTypPocoQueries.Core\StaTypPocoQueries.Core.fsproj" />
20-
</ItemGroup>
21-
22-
<Target Name="SetNuspecProperties" BeforeTargets="GenerateNuspec">
23-
<PropertyGroup>
24-
<NuspecProperties>$(NuspecProperties);id=$(AssemblyName)</NuspecProperties>
25-
<NuspecProperties>$(NuspecProperties);config=$(Configuration)</NuspecProperties>
26-
<NuspecProperties>$(NuspecProperties);version=$(PackageVersion)</NuspecProperties>
27-
<NuspecProperties>$(NuspecProperties);description=$(Description)</NuspecProperties>
28-
<NuspecProperties>$(NuspecProperties);authors=$(Authors)</NuspecProperties>
29-
</PropertyGroup>
30-
<Message Importance="high" Text="NuspecProperties: $(NuspecProperties)" />
31-
</Target>
32-
3322
</Project>

StaTypPocoQueries.PetaPoco/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0",
2+
"version": "1.1",
33
"publicReleaseRefSpec": [
44
"^refs/heads/master$",
55
"^refs/heads/v\\d+(?:\\.\\d+)?$"

statically-typed-poco-queries

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)