Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1454 commits
Select commit Hold shift + click to select a range
f051eb2
removed commented code
maxbruecken Aug 18, 2020
7c5b533
simplified code, use expandOptions
maxbruecken Aug 18, 2020
1d27bd7
removed unnecessary .ToList()
maxbruecken Aug 18, 2020
92e98cb
removed unnecessary .ToList()
maxbruecken Aug 18, 2020
e6e2be5
add unit test
Aug 21, 2020
3567267
skip child entities during filter as key detection
Aug 21, 2020
a4eeb3b
replaced recursion/lazy iteration by expression visitor
maxbruecken Aug 24, 2020
38e293c
Merge pull request #743 from leoxialtd/master
object Aug 25, 2020
ebbe001
Merge branch 'master' of https://github.com/wintg-zns/Simple.OData.Cl…
object Aug 25, 2020
b5060c0
Merge branch 'wintg-zns-master'
object Aug 25, 2020
96beb20
Merge branch 'nested_key_filter' of https://github.com/zivillian/Simp…
object Aug 25, 2020
b9cef44
Merge branch 'zivillian-nested_key_filter'
object Aug 25, 2020
c453a2a
fix for some failed unittests
manureini Aug 25, 2020
fb884d5
moved merge method from ODataExpandAssociation to CommandFormatter
maxbruecken Aug 26, 2020
74c48d5
added more tests
maxbruecken Aug 26, 2020
ffe79bf
Merge branch 'master' of https://github.com/manureini/Simple.OData.Cl…
object Aug 28, 2020
1b6a3f5
Merge branch 'manureini-master'
object Aug 28, 2020
a8d4c36
Draft of ResolvedCommand.
object Aug 30, 2020
f0e7413
Test fixes.
object Aug 30, 2020
28985b3
Refactoring
object Aug 30, 2020
328d7d6
Refactoring
object Aug 30, 2020
4706084
Refactoring
object Aug 30, 2020
71fd013
All tests are green.
object Aug 30, 2020
7bacb9b
Refactoring
object Aug 30, 2020
abb5da9
Remove IsBatchResponse.
object Aug 30, 2020
199460a
Rename CommandDetails to FluentCommandDetails.
object Sep 1, 2020
f437771
Refactoring
object Sep 1, 2020
5075073
Refactoring
object Sep 1, 2020
0b67ab9
Refactoring
object Sep 2, 2020
ae4b844
Refactoring
object Sep 2, 2020
822ab30
Refactoring
object Sep 2, 2020
6c198e7
Refactoring
object Sep 2, 2020
0c3221e
Refactoring
object Sep 2, 2020
da473bc
Remove Session from FluenCommand.
object Sep 2, 2020
b5c856c
Make Session in ResolvedCommand private.
object Sep 2, 2020
3d585a6
Merge pull request #761 from simple-odata-client/fluent-command
object Sep 2, 2020
8e78e5b
Minor
object Sep 2, 2020
d9fec91
Upgrade Microsoft.OData.Core package.
object Sep 2, 2020
8c881db
merge expand associations before formatting command
maxbruecken Nov 13, 2020
588fc36
replaced Skip(1).ToArray() with iteration over the array
maxbruecken Nov 14, 2020
7236441
Merge branch 'master' into enhance-expand
maxbruecken Nov 14, 2020
04a88d0
added checks of parameters
maxbruecken Nov 14, 2020
95c9485
Added System.ValueTuple packages for .NET 4.61.
object Nov 28, 2020
30e18d3
Merge branch 'maxbruecken-enhance-expand'
object Nov 28, 2020
9bf8d1f
Updated NuGet packages.
object Nov 28, 2020
6309492
Updated netcoreapp targets to 3.1.
object Nov 28, 2020
691d987
Added WithHeaders methof to fluent command builder.
Dec 1, 2020
553b3a4
Fix broken filter for compound keys
Dec 6, 2020
5760fc6
Remove unnecessary string format
Dec 7, 2020
26ad297
Fixed issue while expanding children #771
maxbruecken Dec 9, 2020
9beacce
refactored creation of nested expand associations
maxbruecken Dec 10, 2020
24ced75
support 'in' operator introduced in OData v4.01
maxbruecken Dec 29, 2020
58bb54d
avoid using of Expression.Constant to fix reusing of dynamic objects
maxbruecken Dec 31, 2020
c6d1d94
Merge branch 'maxbruecken-fix-dynamics-after-update-to-dotnet-core-3.1'
object Dec 31, 2020
56c277c
Upgraded target framework for tests to net5.0.
object Dec 31, 2020
fef3ccf
Removed tests targeting .NET 4.61. Updated Nuget packages.
object Dec 31, 2020
5dec1ea
Merge branch 'add-in-operator-for-odata-v401' of https://github.com/m…
object Dec 31, 2020
576abdf
Merge branch 'maxbruecken-add-in-operator-for-odata-v401'
object Dec 31, 2020
96a0034
Merge branch 'fix-expanding-of-children' of https://github.com/maxbru…
object Dec 31, 2020
0e3fbdf
Merge branch 'maxbruecken-fix-expanding-of-children'
object Dec 31, 2020
252e55a
Merge branch 'filterbug' of https://github.com/houbi56/Simple.OData.C…
object Dec 31, 2020
c1b9fd7
Merge branch 'houbi56-filterbug'
object Dec 31, 2020
d37ece8
WithHeaders cleanup and tests.
Feb 2, 2021
07a34fa
Added WithHeaders methof to fluent command builder.
Dec 1, 2020
2e8ffe8
WithHeaders cleanup and tests.
Feb 2, 2021
c2d2ffc
Merge branch 'fluentapi_httpheaders' of https://github.com/nsarris/Si…
Feb 3, 2021
1f5440e
Fixed a missing null check when RequestBuild was based on CommandText…
Feb 3, 2021
81be7f1
Fixed a bug with duplicate prefer headers.
Feb 3, 2021
340b751
Fixed header assignment bug.
Feb 3, 2021
e8775bc
Merge branch 'nsarris-fluentapi_httpheaders'
object Feb 4, 2021
d54db69
Updated copyright.
object Feb 4, 2021
de35456
Fixed missing HttpRequestMessage header assignment from ODataRequest.…
Feb 4, 2021
0da4eec
fix expansion split into multiple parts (#783)
maxbruecken Feb 4, 2021
b4057ae
Added ability to add headers to batch requests.
Feb 4, 2021
a25aaa2
Added an end to end test for batch http headers.
Feb 5, 2021
1ebef03
Added documenation comments.
Feb 5, 2021
93960f5
Removed an unused using.
Feb 5, 2021
1d87707
Renamed a class field to follow convention.
Feb 6, 2021
095f8f1
Fixed bugs regarding http headers and added more full set of tests.
Feb 10, 2021
ea481eb
implement data aggregation extension of OData v4
maxbruecken Jan 3, 2021
7b271e8
removed unnecessary 'virtual' keywords
maxbruecken Feb 20, 2021
e11bf65
fix negation of 'in' operator
maxbruecken Mar 3, 2021
4b7b8a4
force grouping of 'in' operator
maxbruecken Mar 4, 2021
3c02b85
added comment to explain the workaround
maxbruecken Mar 5, 2021
54db872
Reduce empty array allocations
watfordgnf Mar 5, 2021
9e32012
Syntactic changes.
Mar 5, 2021
073def0
don't change settings of OData client globally
maxbruecken Mar 5, 2021
d5a72c3
refactored creation of instances of anonymous type
maxbruecken Mar 5, 2021
03cbbff
added explanation why @odata.id could be null
maxbruecken Mar 5, 2021
e7b42c8
Reduce allocations and speed up AsScalar
watfordgnf Mar 5, 2021
5fac62e
Remove all allocations and additional iterations in ConvertCollection…
watfordgnf Mar 5, 2021
86b8538
Merge branch 'nsarris-batch_http_headers'
object Mar 6, 2021
70d66d7
Merge branch 'http_headers_fixes_and_tests' of https://github.com/nsa…
object Mar 6, 2021
543614a
Merge branch 'nsarris-http_headers_fixes_and_tests'
object Mar 6, 2021
5732b3a
Merge branch 'implement-odata-aggregation-extension' of https://githu…
object Mar 6, 2021
8da1c56
Merge branch 'maxbruecken-implement-odata-aggregation-extension'
object Mar 6, 2021
ee8303c
Xml change.
object Mar 6, 2021
4b8d9ce
Updated NuGet packages.
object Mar 6, 2021
e4cce93
Merge branch 'master' into negate-in-operator
maxbruecken Mar 7, 2021
994eaef
fixed test expectations
maxbruecken Mar 7, 2021
b2cbcb4
Merge branch 'maxbruecken-negate-in-operator'
object Mar 7, 2021
9becc9f
Merge remote-tracking branch 'upstream/master' into reduce-array-allo…
watfordgnf Mar 15, 2021
bc09c30
fix evaluation of constant expression containing mapped properties
maxbruecken Mar 12, 2021
6207ccf
updated C# language version to latest
maxbruecken Mar 17, 2021
908f3b1
simplfy
maxbruecken Mar 17, 2021
35ea9f5
simplify
maxbruecken Mar 17, 2021
16525c1
Merge branch 'watfordgnf-reduce-array-allocations'
object Mar 18, 2021
a439a1a
Merge branch 'fix-evaluation-of-constant-expression-containing-mapped…
object Mar 18, 2021
1d0b373
Merge branch 'maxbruecken-fix-evaluation-of-constant-expression-conta…
object Mar 18, 2021
8466758
Fixed bug with selected property missing when its named is contained …
Mar 25, 2021
f4c10d6
Merge branch 'nsarris-issue801_selected_proprety_missing'
object Mar 29, 2021
67eb490
Support for relative urls in batch payload #122
NilsEngelbach Apr 7, 2021
b905631
Update src/Simple.OData.Client.Core/ODataClientSettings.cs
NilsEngelbach Apr 7, 2021
3940f8d
Update src/Simple.OData.Client.Core/ODataClientSettings.cs
NilsEngelbach Apr 7, 2021
4943bf5
Add Unit tests
NilsEngelbach Apr 7, 2021
0cfef2d
Merge branch 'feature/122-relative-urls-in-batch-payload' of https://…
NilsEngelbach Apr 7, 2021
bdbb856
Revert "Add Unit tests"
NilsEngelbach Apr 21, 2021
291a6b4
Update comment for BatchPayloadUriOption setting
NilsEngelbach Apr 21, 2021
b799efe
Add Integrationtests for BatchPayloadUriOption
NilsEngelbach Apr 21, 2021
bf4d859
Add Base Uri for all tests
NilsEngelbach Apr 21, 2021
f1a586a
Temporarily disable failing tests
NilsEngelbach Apr 21, 2021
bd297a7
Merge branch 'NilsEngelbach-feature/122-relative-urls-in-batch-payload'
object Apr 23, 2021
a3a52b8
delta support
Jul 8, 2021
dafcf04
Optimize RequestExecutor call (#805)
Tirien17 Jul 8, 2021
9ac4018
Added support for ODataFeedAnnotations in ExecuteAsArrayAsync (#807)
ysmoradi Jul 8, 2021
4bda687
Cleanup of build warnings. (#811)
Jul 8, 2021
d28c105
Merge branch 'feature/delta' of https://github.com/mVermaat/Simple.OD…
object Jul 8, 2021
a41cb26
Merge branch 'mVermaat-feature/delta'
object Jul 8, 2021
c230c55
Merge branch 'master' of https://github.com/simple-odata-client/Simpl…
object Jul 8, 2021
cc377a7
Updated NuGet packages.
object Jul 8, 2021
49a05ab
Used cached compiled expressions instead of reflection to access memb…
Jul 10, 2021
663b8a9
Removed unnecessary instantiations of odataclients, ot instantiations…
Jul 10, 2021
29ec77b
Added static member support to MemberAccessor and added tests.
Jul 11, 2021
15ee4c9
Fix #806 Strong name the assemblies
lscorcia Jul 13, 2021
c49a033
Correct versions of dependent packages.
object Jul 28, 2021
bb48d56
Correct versions of dependent packages.
object Jul 28, 2021
56477ea
Fix #818 Move OData v4 dependencies to the correct adapter
lscorcia Jul 28, 2021
447538f
Merge branch 'lscorcia-issue-818'
object Jul 28, 2021
fca28c7
Merge branch 'master' of https://github.com/lscorcia/Simple.OData.Cli…
object Jul 29, 2021
f097f3e
Merge branch 'lscorcia-master'
object Jul 29, 2021
458fbea
Update XML comments.
object Jul 29, 2021
17e2f65
Value conversion fixes
Aug 11, 2021
ab0041d
Calling a function results in ODataException (When writing a JSON res…
pil0t Aug 14, 2021
6256d5a
GET and DELETE should not send a Prefer
dxrdxr Sep 1, 2021
a5b51ab
Convert implicitly convertible DateTime objects (Microsoft.OData.Edm.…
mcattle Sep 9, 2021
7c51c4e
Unit Test conversions from implicit DateTimes and Enums
mcattle Sep 9, 2021
874cf2a
Fixed concurrency issues while initializing metadata cache (basically…
Oct 4, 2021
6452740
Merge branch 'remove_unnecessary_odataclient_instantiations' of https…
object Oct 5, 2021
5b0e250
Merge branch 'nsarris-remove_unnecessary_odataclient_instantiations'
object Oct 5, 2021
83d23fe
Merge branch 'v6/compiled_expression_member_accessors' of https://git…
object Oct 5, 2021
e6bff95
Merge branch 'nsarris-v6/compiled_expression_member_accessors'
object Oct 5, 2021
6850519
Merge branch 'use-converters-for-conversion' of https://github.com/Sw…
object Oct 5, 2021
784a559
Merge branch 'SwissLife-OSS-use-converters-for-conversion'
object Oct 5, 2021
9da8a48
Merge branch 'fix-array-function-reading' of https://github.com/pil0t…
object Oct 5, 2021
4dda0a6
Merge branch 'pil0t-fix-array-function-reading'
object Oct 5, 2021
6cbc5af
Merge branch 'master' of https://github.com/dxrdxr/Simple.OData.Clien…
object Oct 5, 2021
9948ebc
Merge branch 'dxrdxr-master'
object Oct 5, 2021
19a3169
Merge branch 'metadata-cache-concurrency-issue' of https://github.com…
object Oct 5, 2021
ae37284
Merge branch 'SwissLife-OSS-metadata-cache-concurrency-issue'
object Oct 5, 2021
1d17f3b
Delete FindNuGetTests.cs (#831)
Oct 5, 2021
01d8db8
Merge branch 'master' into master
mcattle Oct 5, 2021
ce6c73a
Added missing namespace.
object Oct 6, 2021
860a560
Merge branch 'mcattle-master'
object Oct 6, 2021
24e900a
allow any on collection properties like int[] or string[]
Nov 1, 2021
19b7977
Support System.Text.Json 6.0 in v4 Client
robertmclaws Nov 12, 2021
8599c73
Fix concurrency edge case / race condition
Nov 17, 2021
8db02b0
Merge branch 'zivillian-any_on_collection'
object Dec 8, 2021
70f6f85
Merge branch 'patch-1' of https://github.com/robertmclaws/Simple.ODat…
object Dec 8, 2021
cf025b6
Merge branch 'robertmclaws-patch-1'
object Dec 8, 2021
c097e0d
Merge branch 'fix-concurrency-issue' of https://github.com/SwissLife-…
object Dec 8, 2021
1c4d1ad
Merge branch 'SwissLife-OSS-fix-concurrency-issue'
object Dec 8, 2021
45be09a
Updated Microsoft.Data.OData packages
object Dec 8, 2021
4484e74
Updated Microsoft.OData.Core packages
object Dec 8, 2021
2bca76e
Updated nuspec files.
object Dec 8, 2021
df1f24b
Updated nuget packages
davidnmbond Dec 8, 2021
8887a0a
Updated to Net6.0 where possible
davidnmbond Dec 8, 2021
3256cc2
Removed unused references
davidnmbond Dec 8, 2021
f3f20e9
Added .editorconfig
davidnmbond Dec 8, 2021
c1e1354
Added .editorconfig
davidnmbond Dec 8, 2021
4d25686
LangVersion to Latest, throughout
davidnmbond Dec 8, 2021
bb856ba
IDE1006 fixes and suppressions
davidnmbond Dec 8, 2021
c6d97e1
IDE0060 suppression
davidnmbond Dec 8, 2021
42b4401
IDE0040 fixes
davidnmbond Dec 8, 2021
2ac5319
IDE0071 fixes
davidnmbond Dec 8, 2021
f06b1c8
IDE0044 fixes
davidnmbond Dec 8, 2021
2e073d7
IDE0017 fixes
davidnmbond Dec 8, 2021
4db9a01
IDE0007
davidnmbond Dec 8, 2021
f77e00a
IDE0011 fixes
davidnmbond Dec 8, 2021
e9a7678
CA1822
davidnmbond Dec 8, 2021
87f3b5b
CA1829 fixes
davidnmbond Dec 8, 2021
05e988d
IDE0036 fixes
davidnmbond Dec 8, 2021
b9fd2f6
IDE0150 suppression
davidnmbond Dec 8, 2021
e7e237b
Fixed MoviesContext issue
davidnmbond Dec 8, 2021
460da7d
IDE0066 fixes
davidnmbond Dec 8, 2021
c0230b1
IDE0090 fixes
davidnmbond Dec 8, 2021
1268efe
IDE0059 fix
davidnmbond Dec 8, 2021
b343d67
CA1816 fix
davidnmbond Dec 8, 2021
79beb1d
Removed framework version warnings
davidnmbond Dec 8, 2021
8acd459
Added source suppression
davidnmbond Dec 8, 2021
8a61276
IDE0079 fixes
davidnmbond Dec 8, 2021
d8f7058
IDE0019 fixes
davidnmbond Dec 8, 2021
b1e706c
IDE0051 fixes
davidnmbond Dec 8, 2021
434ea99
IDE0083 fixes
davidnmbond Dec 8, 2021
6ddc699
IDE0074 fixes
davidnmbond Dec 8, 2021
0e468f7
IDE0063 fixes
davidnmbond Dec 8, 2021
8d8ba6e
IDE0062 fixes
davidnmbond Dec 8, 2021
59f6efa
IDE0057 fixes
davidnmbond Dec 8, 2021
6a7a5f6
IDE0054 fixes
davidnmbond Dec 8, 2021
c2ed9f1
IDE0041 fixes
davidnmbond Dec 8, 2021
c93d68a
IDE0055 fixes
davidnmbond Dec 8, 2021
f591a83
Configured out IDE0027
davidnmbond Dec 8, 2021
c6242be
IDE0025 fixes
davidnmbond Dec 8, 2021
04be1c2
IDE0022 fixes
davidnmbond Dec 8, 2021
d1efdaf
IDE0003 fixes
davidnmbond Dec 8, 2021
2dd14d0
IDE0003 fixes
davidnmbond Dec 8, 2021
bcf1100
CA1822 fixes
davidnmbond Dec 8, 2021
7383486
IDE0038 fixes
davidnmbond Dec 8, 2021
073e77d
IDE0031 fixes
davidnmbond Dec 8, 2021
eb65c45
IDE0004 fixes
davidnmbond Dec 8, 2021
f34c00a
IDE0027 fixes
davidnmbond Dec 8, 2021
a211ca0
Suppressed IDE0057
davidnmbond Dec 8, 2021
0a34619
IDE0059 fixes
davidnmbond Dec 8, 2021
ca91877
Removed unused usings
davidnmbond Dec 8, 2021
7b2bf24
CA1816 fixes
davidnmbond Dec 8, 2021
dab2bac
CA1847 improved test
davidnmbond Dec 9, 2021
2948e42
IDE0060 fix
davidnmbond Dec 9, 2021
04eef7a
Fixed unit test as FTP protocol rejection NotSupportedException now t…
davidnmbond Dec 9, 2021
15c1886
IDE0032 fixes
davidnmbond Dec 9, 2021
b042758
IDE0028 fixes
davidnmbond Dec 9, 2021
fb4f990
IDE0032 fixes
davidnmbond Dec 9, 2021
9bb3179
IDE0052 fix
davidnmbond Dec 9, 2021
c6e8c95
File scoped namespaces
davidnmbond Dec 9, 2021
0b5fd87
IDE0049 fixes
davidnmbond Dec 9, 2021
ebb6950
Merge
davidnmbond Dec 9, 2021
0a488c0
CSO661 fixes
davidnmbond Dec 9, 2021
c66d6a6
CA1018 fixes
davidnmbond Dec 9, 2021
d819492
IDE0060 fix
davidnmbond Dec 9, 2021
09e73de
IDE2003 fixes
davidnmbond Dec 9, 2021
84a20d3
CA1018 fixes
davidnmbond Dec 9, 2021
61c2b86
Fixed unused CancellationToken
davidnmbond Dec 9, 2021
9aaf34a
Suppressed IDE0060 for true() and false()
davidnmbond Dec 9, 2021
311841a
IDE0060 fix
davidnmbond Dec 9, 2021
44fc17c
IDE0045 fixes
davidnmbond Dec 9, 2021
163a94c
IDE0029 fix
davidnmbond Dec 9, 2021
e030af6
File-scoped namespace fix
davidnmbond Dec 9, 2021
a04d80e
Deleted obsolete WebAPI tests (used Web site that no longer exists).
object Dec 10, 2021
a735eef
Removed WebApiTests (mirroring master)
davidnmbond Dec 10, 2021
0755d76
Merge pull request #841 from simple-odata-client/modernization
davidnmbond Dec 12, 2021
7c3a965
Deprecated public calls with unused parameters
davidnmbond Dec 12, 2021
1a6fc32
Resolved internal calls in V3 and V4 ResponseReaders
davidnmbond Dec 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 62 additions & 0 deletions %USERPFOFILE%/.config/git/gitk
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
set mainfont {Helvetica 9}
set textfont {Courier 9}
set uifont {Helvetica 9 bold}
set tabstop 8
set findmergefiles 0
set maxgraphpct 50
set maxwidth 16
set cmitmode patch
set wrapcomment none
set autoselect 1
set autosellen 40
set showneartags 1
set maxrefs 20
set visiblerefs {"master"}
set hideremotes 0
set showlocalchanges 1
set datetimeformat {%Y-%m-%d %H:%M:%S}
set limitdiffs 1
set uicolor SystemButtonFace
set want_ttk 1
set bgcolor SystemWindow
set fgcolor SystemWindowText
set uifgcolor SystemButtonText
set uifgdisabledcolor SystemDisabledText
set colors {"#00ff00" red blue magenta darkgrey brown orange}
set diffcolors {red "#00a000" blue}
set mergecolors {red blue "#00ff00" purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
set markbgcolor #e0e0ff
set diffcontext 3
set selectbgcolor SystemHighlight
set foundbgcolor yellow
set currentsearchhitbgcolor orange
set extdifftool meld
set perfile_attrs 0
set headbgcolor #00ff00
set headfgcolor black
set headoutlinecolor black
set remotebgcolor #ffddaa
set tagbgcolor yellow
set tagfgcolor black
set tagoutlinecolor black
set reflinecolor black
set filesepbgcolor #aaaaaa
set filesepfgcolor black
set linehoverbgcolor #ffff80
set linehoverfgcolor black
set linehoveroutlinecolor black
set mainheadcirclecolor yellow
set workingfilescirclecolor red
set indexcirclecolor #00ff00
set circlecolors {white blue gray blue blue}
set linkfgcolor blue
set circleoutlinecolor SystemWindowText
set geometry(main) 1816x1020+82+0
set geometry(state) normal
set geometry(topwidth) 1816
set geometry(topheight) 315
set geometry(pwsash0) "560 1"
set geometry(pwsash1) "840 1"
set geometry(botwidth) 700
set geometry(botheight) 700
set permviews {}
146 changes: 146 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# Rules in this file were initially inferred by Visual Studio IntelliCode from the C:\Users\david\Projects\Simple.OData.Client codebase based on best match to current usage at 08/12/2021
# You can modify the rules from these initially generated values to suit your own policies
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
[*.cs]


#Core editorconfig formatting - indentation

#use soft tabs (spaces) for indentation
indent_style = space

#Formatting - indentation options

#indent switch case contents.
csharp_indent_case_contents = true
#indent switch labels
csharp_indent_switch_labels = true

#Formatting - new line options

#place catch statements on a new line
csharp_new_line_before_catch = true
#place else statements on a new line
csharp_new_line_before_else = true
#require members of anonymous types to be on separate lines
csharp_new_line_before_members_in_anonymous_types = true
#require members of object initializers to be on the same line
csharp_new_line_before_members_in_object_initializers = false
#require braces to be on a new line for methods, accessors, object_collection_array_initializers, control_blocks, properties, lambdas, anonymous_types, and types (also known as "Allman" style)
csharp_new_line_before_open_brace = methods, accessors, object_collection_array_initializers, control_blocks, properties, lambdas, anonymous_types, types

#Formatting - organize using options

#sort System.* using directives alphabetically, and place them before other usings
dotnet_sort_system_directives_first = true

#Formatting - spacing options

#require NO space between a cast and the value
csharp_space_after_cast = false
#require a space before the colon for bases or interfaces in a type declaration
csharp_space_after_colon_in_inheritance_clause = true
#require a space after a keyword in a control flow statement such as a for loop
csharp_space_after_keywords_in_control_flow_statements = true
#require a space before the colon for bases or interfaces in a type declaration
csharp_space_before_colon_in_inheritance_clause = true
#remove space within empty argument list parentheses
csharp_space_between_method_call_empty_parameter_list_parentheses = false
#remove space between method call name and opening parenthesis
csharp_space_between_method_call_name_and_opening_parenthesis = false
#do not place space characters after the opening parenthesis and before the closing parenthesis of a method call
csharp_space_between_method_call_parameter_list_parentheses = false
#remove space within empty parameter list parentheses for a method declaration
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
#place a space character after the opening parenthesis and before the closing parenthesis of a method declaration parameter list.
csharp_space_between_method_declaration_parameter_list_parentheses = false

#Formatting - wrapping options

#leave code block on single line
csharp_preserve_single_line_blocks = true
#leave statements and member declarations on the same line
csharp_preserve_single_line_statements = true

#Style - Code block preferences

#prefer no curly braces if allowed
csharp_prefer_braces =true:suggestion

#Style - expression bodied member options

#prefer block bodies for accessors
csharp_style_expression_bodied_accessors =when_on_single_line:suggestion
#prefer block bodies for constructors
csharp_style_expression_bodied_constructors = false:suggestion
#prefer block bodies for methods
csharp_style_expression_bodied_methods = false:suggestion
#prefer expression-bodied members for properties
csharp_style_expression_bodied_properties = true:suggestion

#Style - expression level options

#prefer out variables to be declared inline in the argument list of a method call when possible
csharp_style_inlined_variable_declaration = true:suggestion
#prefer ItemX properties to tuple names
dotnet_style_explicit_tuple_names = false:suggestion
#prefer the language keyword for member access expressions, instead of the type name, for types that have a keyword to represent them
dotnet_style_predefined_type_for_member_access = true:suggestion

#Style - Expression-level preferences

#prefer default(T) over default
csharp_prefer_simple_default_expression = false:suggestion
#prefer objects to be initialized using object initializers when possible
dotnet_style_object_initializer = true:suggestion
#prefer inferred anonymous type member names
dotnet_style_prefer_inferred_anonymous_type_member_names = false:suggestion
#prefer inferred tuple element names
dotnet_style_prefer_inferred_tuple_names = true:suggestion

#Style - implicit and explicit types

#prefer var over explicit type in all cases, unless overridden by another code style rule
csharp_style_var_elsewhere = true:suggestion
#prefer var is used to declare variables with built-in system types such as int
csharp_style_var_for_built_in_types = true:suggestion
#prefer var when the type is already mentioned on the right-hand side of a declaration expression
csharp_style_var_when_type_is_apparent = true:suggestion

#Style - language keyword and framework type options

#prefer the language keyword for local variables, method parameters, and class members, instead of the type name, for types that have a keyword to represent them
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion

#Style - Miscellaneous preferences

#prefer anonymous functions over local functions
csharp_style_pattern_local_over_anonymous_function = false:suggestion

#Style - modifier options

#prefer accessibility modifiers to be declared except for public interface members. This will currently not differ from always and will act as future proofing for if C# adds default interface methods.
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion

#Style - Modifier preferences

#when this rule is set to a list of modifiers, prefer the specified ordering.
csharp_preferred_modifier_order = public,private,internal,protected,async,static,override,readonly,abstract:suggestion

#Style - Pattern matching

#prefer pattern matching instead of is expression with type casts
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion

#Style - qualification options

#prefer fields not to be prefaced with this. or Me. in Visual Basic
dotnet_style_qualification_for_field = false:suggestion
#prefer methods not to be prefaced with this. or Me. in Visual Basic
dotnet_style_qualification_for_method = false:suggestion
#prefer properties not to be prefaced with this. or Me. in Visual Basic
dotnet_style_qualification_for_property = false:suggestion
csharp_style_namespace_declarations=file_scoped:silent

[*.{cs,vb}]
indent_style=tab
19 changes: 18 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,21 @@ NDependOut
packages/
*_mm_cache.bin
*.user

*.userprefs
.DS_Store
*.xam
*.ldf
TestResults/
Simple.OData.ProductService/Properties/PublishProfiles/va-odata-integration - FTP.pubxml
Simple.OData.ProductService/Properties/PublishProfiles/va-odata-integration - Web Deploy.pubxml
Simple.OData.Client.AdHocTests/
Simple.OData.Client.IntegrationTests/AdHocTests.cs
Solutions/AdHocTests.sln
.vs/
.idea/
build/
nuget.exe
/.fake
/paket-files
/.paket/paket.exe
/.paket/Paket.Restore.targets
Binary file removed .nuget/NuGet.exe
Binary file not shown.
52 changes: 0 additions & 52 deletions .nuget/NuGet.targets

This file was deleted.

6 changes: 0 additions & 6 deletions AutoTest.config

This file was deleted.

19 changes: 0 additions & 19 deletions CommonAssemblyInfo.cs

This file was deleted.

5 changes: 0 additions & 5 deletions CommonAssemblyVersion.cs

This file was deleted.

11 changes: 11 additions & 0 deletions Directory.build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project>
<PropertyGroup>
<Product>Simple OData Client</Product>
<Copyright>© Vagif Abilov and contributors 2012-2021</Copyright>
<Description>OData client library for .NET 4.x, .NET Standard, .NET Core, iOS and Android.</Description>
<NeutralLanguage>en-US</NeutralLanguage>

<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)sn.snk</AssemblyOriginatorKeyFile> <StrongNamePublicKey>PublicKey=00240000048000009400000006020000002400005253413100040000010001002d608f5bce35f3eff1c1102fc3a90c0c1fb48a69491aa396dc6f2b3214374645179700266ff7c64b35de02956afd8e0f29a6de4d4a32660d2ac7c531901daf5e1130944b1ca1e9a95cb7abcadca5aab49507e5673c1d0315e41157c0daf720fca9a7bfa78a264648bedc83ddb75792c607dda0b84e48ff577db2898566a470c2</StrongNamePublicKey>
</PropertyGroup>
</Project>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2012-2014 Vagif Abilov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.Check_out_a_movie.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":null,"ContentHeaders":null,"Method":"POST","RequestHeaders":[{"Key":"Accept","Value":["application\/json","application\/xml","application\/text"]},{"Key":"Prefer","Value":["return-content"]}],"RequestUri":"http:\/\/localhost\/actions\/Movies(1)\/CheckOut"}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.Check_out_a_movie.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"{\u000d\u000a \"odata.metadata\":\"http:\/\/localhost\/actions\/$metadata#Movies\/@Element\",\"#CheckOut\":{\u000d\u000a \u000d\u000a },\"ID\":1,\"Title\":\"Maximum Payback\",\"Year\":1990,\"DueDate\":\"2018-05-28T07:25:50.2026671+02:00\"\u000d\u000a}","ContentHeaders":[{"Key":"Content-Type","Value":["application\/json; charset=utf-8"]},{"Key":"Content-Length","Value":["193"]}],"RequestUri":"http:\/\/localhost\/actions\/Movies(1)\/CheckOut","ResponseHeaders":[{"Key":"DataServiceVersion","Value":["3.0"]}],"StatusCode":200}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.Check_out_several.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"{\u000d\u000a \"MovieIDs\":[\u000d\u000a 1,2,3\u000d\u000a ]\u000d\u000a}","ContentHeaders":[{"Key":"Content-Type","Value":["application\/json"]},{"Key":"Content-Length","Value":["36"]}],"Method":"POST","RequestHeaders":[{"Key":"Accept","Value":["application\/json","application\/xml","application\/text"]},{"Key":"Prefer","Value":["return-content"]}],"RequestUri":"http:\/\/localhost\/actions\/Movies\/CheckOutMany"}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.Check_out_several.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"{\u000d\u000a \"odata.metadata\":\"http:\/\/localhost\/actions\/$metadata#Movies\",\"value\":[\u000d\u000a {\u000d\u000a \"#CheckOut\":{\u000d\u000a \u000d\u000a },\"ID\":2,\"Title\":\"Inferno of Retribution\",\"Year\":2005,\"DueDate\":\"2018-05-27T22:39:54.3637417+02:00\"\u000d\u000a },{\u000d\u000a \"#CheckOut\":{\u000d\u000a \u000d\u000a },\"ID\":3,\"Title\":\"Fatal Vengeance 2\",\"Year\":2012,\"DueDate\":\"2018-05-27T22:39:54.3637417+02:00\"\u000d\u000a }\u000d\u000a ]\u000d\u000a}","ContentHeaders":[{"Key":"Content-Type","Value":["application\/json; charset=utf-8"]},{"Key":"Content-Length","Value":["377"]}],"RequestUri":"http:\/\/localhost\/actions\/Movies\/CheckOutMany","ResponseHeaders":[{"Key":"DataServiceVersion","Value":["3.0"]}],"StatusCode":200}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.CreateMovie.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"{\u000d\u000a \"Title\":\"6b968ca9-4822-49ee-90bd-0439aaa48e9a\"\u000d\u000a}","ContentHeaders":[{"Key":"Content-Type","Value":["application\/json"]},{"Key":"Content-Length","Value":["54"]}],"Method":"POST","RequestHeaders":[{"Key":"Accept","Value":["application\/json","application\/xml","application\/text"]},{"Key":"Prefer","Value":["return-content"]}],"RequestUri":"http:\/\/localhost\/actions\/CreateMovie"}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.CreateMovie.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"{\u000d\u000a \"odata.metadata\":\"http:\/\/localhost\/actions\/$metadata#Movies\/@Element\",\"#CheckOut\":{\u000d\u000a \u000d\u000a },\"ID\":6,\"Title\":\"6b968ca9-4822-49ee-90bd-0439aaa48e9a\",\"Year\":0,\"DueDate\":null\u000d\u000a}","ContentHeaders":[{"Key":"Content-Type","Value":["application\/json; charset=utf-8"]},{"Key":"Content-Length","Value":["180"]}],"RequestUri":"http:\/\/localhost\/actions\/CreateMovie","ResponseHeaders":[{"Key":"DataServiceVersion","Value":["3.0"]}],"StatusCode":200}
1 change: 1 addition & 0 deletions MockData/ActionV3Tests.CreateMovie_batch.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Content":"--batch_43c61c8d-640f-46ac-861a-33a8b2f54222\u000d\u000aContent-Type: multipart\/mixed; boundary=changeset_29101927-4899-4e1a-903b-dc102b5cecc9\u000d\u000a\u000d\u000a--changeset_29101927-4899-4e1a-903b-dc102b5cecc9\u000d\u000aContent-Type: application\/http\u000d\u000aContent-Transfer-Encoding: binary\u000d\u000a\u000d\u000aPOST http:\/\/localhost\/actions\/CreateMovie HTTP\/1.1\u000d\u000aContent-ID: 1\u000d\u000aPrefer: return-content\u000d\u000aContent-Type: application\/json;odata=minimalmetadata;streaming=true;charset=utf-8\u000d\u000a\u000d\u000a{\u000d\u000a \"Title\":\"2c44053f-6790-4221-934e-ba214dfeb643\"\u000d\u000a}\u000d\u000a--changeset_29101927-4899-4e1a-903b-dc102b5cecc9--\u000d\u000a--batch_43c61c8d-640f-46ac-861a-33a8b2f54222--\u000d\u000a","ContentHeaders":[{"Key":"Content-Type","Value":["multipart\/mixed; boundary=batch_43c61c8d-640f-46ac-861a-33a8b2f54222"]}],"Method":"POST","RequestHeaders":[],"RequestUri":"http:\/\/localhost\/actions\/$batch"}
Loading