Skip to content

DefaultConstraintEndpoints

Namespace: MJCZone.DapperMatic.AspNetCore.Endpoints

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Extension methods for registering DapperMatic default constraint endpoints.

static public

Contents

Methods (5)

Methods

MapDapperMaticDefaultConstraintEndpoints

Maps all DapperMatic default constraint endpoints to the specified route builder.

csharp
IEndpointRouteBuilder MapDapperMaticDefaultConstraintEndpoints(
    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()