Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 812 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 812 Bytes

Moon.OData

Build status NuGet

Simple and easy to use library for parsing OData query options in .NET applications. There is no documentation and will never be. If you still want to use this library, take a look at sample projects and / or source code.

[HttpGet("api/entities")]
public Task<IOData<Entity>> GetEntities(ODataOptions<Entity> options)
{
    // Do whatever you want with OData query options, 
    // build custom Micro ORM integration, etc.

    var query = new ODataSqlQuery(
        "SELECT FROM Entities WHERE OwnerId = @p0",
        10456, options
    );
}