Skip to content

DatasourceEndpoints

Namespace: MJCZone.DapperMatic.AspNetCore.Endpoints

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Extension methods for registering DapperMatic datasource endpoints.

static public

Contents

Methods (5)

Methods

MapDapperMaticDatasourceEndpoints

Maps all DapperMatic datasource endpoints to the specified route builder.

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