Community.OData.Linq
1.0.1
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Community.OData.Linq --version 1.0.1
NuGet\Install-Package Community.OData.Linq -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Community.OData.Linq" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Community.OData.Linq --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Community.OData.Linq, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Community.OData.Linq as a Cake Addin #addin nuget:?package=Community.OData.Linq&version=1.0.1 // Install Community.OData.Linq as a Cake Tool #tool nuget:?package=Community.OData.Linq&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Please check simple code below to get started
using System;
using System.Linq;
using Community.OData.Linq;
public class Sample
{
public int Id { get; set; }
public string Name { get; set; }
}
public class Demo
{
public void SimpleFilter()
{
IQueryable<Sample> dataSet = this.CreateQuerable();
Sample[] filterResult = dataSet.OData().Filter("Id eq 2 or Name eq 'name3'").ToArray();
// Id:2 Name:name2
// Id:3 Name:name3
foreach (Sample sample in filterResult)
{
Console.WriteLine(string.Format("Id:{0} Name:{1}", sample.Id, sample.Name));
}
}
public void SimpleOrderBy()
{
IQueryable<Sample> dataSet = this.CreateQuerable();
Sample[] filterResult = dataSet.OData().OrderBy("Id desc").ToArray();
// Id:3 Name:name3
// Id:2 Name:name2
// Id:1 Name:name1
foreach (Sample sample in filterResult)
{
Console.WriteLine(string.Format("Id:{0} Name:{1}", sample.Id, sample.Name));
}
}
private IQueryable<Sample> CreateQuerable()
{
return new[]
{
new Sample { Id = 1, Name = "name1" },
new Sample { Id = 2, Name = "name2" },
new Sample { Id = 3, Name = "name3" },
}.AsQueryable();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- Microsoft.OData.Core (>= 7.4.0)
- System.ComponentModel.Annotations (>= 4.4.1)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection (>= 2.0.0)
- Microsoft.OData.Core (>= 7.4.0)
- System.ComponentModel.Annotations (>= 4.4.1)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Community.OData.Linq:
Package | Downloads |
---|---|
Aguacongas.IdentityServer
TheIdServer IndentityServer4 abstraction and extensions. |
|
Community.OData.Linq.AspNetCore
OData linq for ASP.NET Core 2.0+ |
|
Community.OData.Linq.Json
Json serialization for SelectExpand result |
|
CoreApp.Interfaces
Package Description |
|
Nanomite.Core.DataAccess
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Community.OData.Linq:
Repository | Stars |
---|---|
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
|
Version | Downloads | Last updated |
---|---|---|
2.1.24-rc | 35,899 | 6/5/2022 |
2.1.0 | 812,353 | 1/3/2022 |
2.0.0 | 5,389 | 12/22/2021 |
1.4.3 | 129,785 | 5/26/2021 |
1.4.2 | 363,188 | 11/18/2018 |
1.4.1 | 15,278 | 8/23/2018 |
1.4.0 | 7,150 | 4/12/2018 |
1.3.0 | 991 | 4/10/2018 |
1.2.0 | 1,620 | 3/17/2018 |
1.1.0 | 1,237 | 2/28/2018 |
1.0.2 | 1,118 | 1/28/2018 |
1.0.1 | 1,158 | 1/28/2018 |
1.0.0 | 1,297 | 1/28/2018 |