Skip to content

UniqueConstraintEndpoints

Namespace: MJCZone.DapperMatic.AspNetCore.Endpoints

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Extension methods for registering DapperMatic unique constraint endpoints.

static public

Contents

Methods (5)

Methods

MapDapperMaticUniqueConstraintEndpoints

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

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