Skip to content

ViewEndpoints ​

Namespace: MJCZone.DapperMatic.AspNetCore.Endpoints

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Extension methods for registering DapperMatic view endpoints.

static public

Contents ​

Methods (5)

Methods ​

MapDapperMaticViewEndpoints ​

Maps all DapperMatic view endpoints to the specified route builder.

csharp
IEndpointRouteBuilder MapDapperMaticViewEndpoints(
    IEndpointRouteBuilder app,
    string basePath)

Parameters ​

  • app (IEndpointRouteBuilder) - The route builder.
  • basePath (string) - The base path for the API endpoints. Defaults to "/api/dm".

Returns ​

Type: IEndpointRouteBuilder

The route builder for method chaining.

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()