Skip to content

Commit 1bef8c7

Browse files
committed
Add netstandard2.0 support via separate Breeze.Sharp.Standard.sln;
Add JsonQueryExpressionVisitor.cs for limited JSON query support Add Configuration.UriQueryStyle to control whether to use OData or JSON queries Add build/build.standard.js to build Nuget package for .NETStandard
1 parent 1bf4150 commit 1bef8c7

39 files changed

+5446
-3321
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false
14+
15+
# CSharp formatting settings:
16+
[*.cs]
17+
csharp_new_line_before_open_brace = none
18+
csharp_new_line_before_else = false
19+
csharp_new_line_before_catch = false
20+
csharp_new_line_before_finally = false
21+
csharp_new_line_before_members_in_object_initializers = false
22+
csharp_new_line_before_members_in_anonymous_types = false
23+
csharp_new_line_between_query_expression_clauses = false

Breeze.Sharp.Standard.sln

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29519.181
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Breeze.Sharp.Standard", "Breeze.Sharp\Breeze.Sharp.Standard.csproj", "{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{81AA6310-06A8-4DBE-B758-1F5E9DA586A3}"
9+
ProjectSection(SolutionItems) = preProject
10+
.editorconfig = .editorconfig
11+
EndProjectSection
12+
EndProject
13+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Northwind.Standard", "Tests\Internal\Model.Northwind.Sharp\Model.Northwind.Standard.csproj", "{019A188A-D6BB-4AD5-8639-E54FA0B96BED}"
14+
EndProject
15+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Breeze.Sharp.Standard.Tests", "Tests\Internal\Tests\Breeze.Sharp.Standard.Tests.csproj", "{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}"
16+
EndProject
17+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Inheritance.Billing.Standard", "Tests\Internal\Model.Inheritance.Billing.Sharp\Model.Inheritance.Billing.Standard.csproj", "{3FABB05E-A1CC-417A-8B80-8731943AA8F0}"
18+
EndProject
19+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Inheritance.Produce.Standard", "Tests\Internal\Model.Inheritance.Produce.Sharp\Model.Inheritance.Produce.Standard.csproj", "{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}"
20+
EndProject
21+
Global
22+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
23+
Debug|Any CPU = Debug|Any CPU
24+
Release|Any CPU = Release|Any CPU
25+
EndGlobalSection
26+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
27+
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28+
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
29+
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Release|Any CPU.Build.0 = Release|Any CPU
35+
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36+
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
37+
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40+
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
42+
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Release|Any CPU.Build.0 = Release|Any CPU
43+
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
46+
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Release|Any CPU.Build.0 = Release|Any CPU
47+
EndGlobalSection
48+
GlobalSection(SolutionProperties) = preSolution
49+
HideSolutionNode = FALSE
50+
EndGlobalSection
51+
GlobalSection(ExtensibilityGlobals) = postSolution
52+
SolutionGuid = {D1192861-961B-44FC-9437-E4916B820169}
53+
EndGlobalSection
54+
EndGlobal
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<AssemblyName>Breeze.Sharp</AssemblyName>
6+
<RootNamespace>Breeze.Sharp</RootNamespace>
7+
<Authors>Jay Traband</Authors>
8+
<Company>IdeaBlade</Company>
9+
<Description>Breeze.Sharp is a data management tool for smart client apps. It retrieves data from the server using a rich query language, manages the entity graph of application data, tracks changes, and performs updates of changed data to the server.</Description>
10+
<Copyright>IdeaBlade, 2014 - 2020</Copyright>
11+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
12+
<PackageProjectUrl>http://breeze.github.io/</PackageProjectUrl>
13+
<RepositoryUrl>https://github.com/Breeze/breeze.sharp</RepositoryUrl>
14+
<RepositoryType>git</RepositoryType>
15+
<Version>0.8.0</Version>
16+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
17+
</PropertyGroup>
18+
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
20+
<DocumentationFile></DocumentationFile>
21+
</PropertyGroup>
22+
23+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
24+
<DocumentationFile>C:\git\Breeze\breeze.sharp\Breeze.Sharp\Breeze.Sharp.xml</DocumentationFile>
25+
</PropertyGroup>
26+
27+
<ItemGroup>
28+
<Compile Remove="Properties\AssemblyInfo.cs" />
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<PackageReference Include="Microsoft.Data.Services.Client" Version="5.8.4" />
33+
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
34+
</ItemGroup>
35+
36+
<ItemGroup>
37+
<Folder Include="Properties\" />
38+
</ItemGroup>
39+
40+
<ItemGroup>
41+
<EmbeddedResource Update="LocalizedMessages.resx">
42+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
43+
</EmbeddedResource>
44+
</ItemGroup>
45+
46+
</Project>

0 commit comments

Comments
 (0)