ZEXSM / OData.QueryBuilder

OData.QueryBuilder - library for creating complex OData queries (OData version 4.01) based on data models with linq syntax.
MIT License
71 stars 31 forks source link

Provide support for Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute #115

Open ksolberg opened 1 year ago

ksolberg commented 1 year ago

It would be really useful if I could use classes generated by Early Bould Generator / CrmSvcUtil:

public partial class Contact : Microsoft.Xrm.Sdk.Entity
{
    ...
    [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("jobtitle")]
    public string JobTitle
    ...

Output: ../contacts?$select=JobTitle

Desired output: ../contacts?$select=jobtitle

ZEXSM commented 11 months ago

Hi! I'll think about what can be done. Attributes need to be taken into account here, but I would not want to have dependencies on Microsoft.Xrm.Sdk