Class CrudEntityAttribute<TKey>
- Namespace
- Apizr.Requesting
- Assembly
- Apizr.dll
Tells Apizr to auto register an IApizrManager<TWebApi> for this decorated entity (works only with IServiceCollection extensions registration)
[AttributeUsage(AttributeTargets.Class)]
public class CrudEntityAttribute<TKey> : CrudEntityAttribute
Type Parameters
TKey
This specific api entity's crud key type (default: null = typeof(int))
- Inheritance
-
CrudEntityAttribute<TKey>
- Inherited Members
Constructors
CrudEntityAttribute(string)
Tells Apizr to auto register an IApizrManager<TWebApi> for this decorated entity (works only with IServiceCollection extensions registration)
public CrudEntityAttribute(string baseUri)
Parameters
baseUri
stringThis specific api entity's base crud uri