TanvirArjel / EFCore.GenericRepository

This repository contains Generic Repository implementation for Entity Framework Core
MIT License
599 stars 89 forks source link

Can you do the automapper.odata support or is it redundant? #21

Closed mansurdegirmenci closed 2 years ago

mansurdegirmenci commented 2 years ago

I am using "odata" in my web api project. and "automapper" has that data support. https://github.com/AutoMapper/AutoMapper.Extensions.OData

my method:

[HttpGet]
[EnableQuery]
public IActionResult Get(ODataQueryOptions<MyInternetHatlariDto> options)
{
//I don't want to use "context" how can I use your library here.
return Ok(_context.MyInternetHatlaris.Get(_mapper, options));
}

I also use your library. but since this is not supported, I have to use the database object directly. Do you think support should come or is it unnecessary?

TanvirArjel commented 2 years ago

@mansurdegirmenci Thank you so much for your issue. Currently, we don't have any plans.