Skip to content

Instantly share code, notes, and snippets.

@MatthewDavidCampbell
Created August 8, 2022 06:06
Show Gist options
  • Save MatthewDavidCampbell/669b81f40b04614ab881cbbfda743458 to your computer and use it in GitHub Desktop.
Save MatthewDavidCampbell/669b81f40b04614ab881cbbfda743458 to your computer and use it in GitHub Desktop.
OData POP
using Microsoft.OData.Client;
namespace Biometria.Discovery.OData
{
[Key(nameof(Identitet))]
// TODO: Set another name of Actor for example aktors/docs
public class Actor
{
public string Identitet { get; }
}
}
@MatthewDavidCampbell
Copy link
Author

MatthewDavidCampbell commented Aug 8, 2022

Haven't found any OData attributes to set an alternative name of the EDM element (e.g. aktors/docs))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment