Class MappedCrudEntityAttribute<TApiEntity, TApiEntityKey>
Tells Apizr to auto register an IApizrManager<TWebApi> for the referenced api entity and mapped to this decorated model entity (works only with IServiceCollection extensions registration)
[AttributeUsage(AttributeTargets.Class)]
public class MappedCrudEntityAttribute<TApiEntity, TApiEntityKey> : MappedCrudEntityAttribute
Type Parameters
TApiEntity
The mapped api entity type
TApiEntityKey
The mapped api entity's crud key type (default: null = typeof(int))
- Inheritance
-
MappedCrudEntityAttribute<TApiEntity, TApiEntityKey>
- Inherited Members
Constructors
MappedCrudEntityAttribute(string)
public MappedCrudEntityAttribute(string apiEntityBaseUri)
Parameters
apiEntityBaseUri
string