Documentation Index
Fetch the complete documentation index at: https://easyaf.dev/llms.txt
Use this file to discover all available pages before exploring further.
Definition
Assembly: Microsoft.Restier.Core.dll
Namespace: Microsoft.Restier.Core
Inheritance: System.Object
Syntax
Microsoft.Restier.Core.ConventionBasedMethodNameFactory
Summary
A set of string factory methods than generate Restier names for various possible operations.
Methods
GetEntitySetMethodName
Generates the complete MethodName for a given IEdmOperationImport, RestierPipelineState, and RestierEntitySetOperation.
Syntax
public static string GetEntitySetMethodName(Microsoft.OData.Edm.IEdmEntitySet entitySet, Microsoft.Restier.Core.RestierPipelineState restierPipelineState, Microsoft.Restier.Core.RestierEntitySetOperation operation)
Parameters
| Name | Type | Description |
|---|
entitySet | Microsoft.OData.Edm.IEdmEntitySet | The IEdmEntitySet that contains the details for the EntitySet and the Entities it holds. |
restierPipelineState | Microsoft.Restier.Core.RestierPipelineState | The part of the Restier pipeline currently executing. |
operation | Microsoft.Restier.Core.RestierEntitySetOperation | The RestierEntitySetOperation currently being executed. |
Returns
Type: string
A string representing the fully-realized MethodName.
GetEntitySetMethodName
Generates the complete MethodName for a given IEdmOperationImport, RestierPipelineState, and RestierEntitySetOperation.
Syntax
public static string GetEntitySetMethodName(Microsoft.Restier.Core.Submit.DataModificationItem item, Microsoft.Restier.Core.RestierPipelineState restierPipelineState)
Parameters
| Name | Type | Description |
|---|
item | Microsoft.Restier.Core.Submit.DataModificationItem | The DataModificationItem that contains the details for the EntitySet and the Entities it holds. |
restierPipelineState | Microsoft.Restier.Core.RestierPipelineState | The part of the Restier pipeline currently executing. |
Returns
Type: string
A string representing the fully-realized MethodName.
GetFunctionMethodName
Generates the complete MethodName for a given IEdmOperationImport, RestierPipelineState, and RestierEntitySetOperation.
Syntax
public static string GetFunctionMethodName(Microsoft.OData.Edm.IEdmOperationImport operationImport, Microsoft.Restier.Core.RestierPipelineState restierPipelineState, Microsoft.Restier.Core.RestierOperationMethod restierOperation)
Parameters
| Name | Type | Description |
|---|
operationImport | Microsoft.OData.Edm.IEdmOperationImport | The IEdmOperationImport to generate a name for. |
restierPipelineState | Microsoft.Restier.Core.RestierPipelineState | The part of the Restier pipeline currently executing. |
restierOperation | Microsoft.Restier.Core.RestierOperationMethod | The RestierOperationMethod currently being executed. |
Returns
Type: string
A string representing the fully-realized MethodName.
GetFunctionMethodName
Generates the complete MethodName for a given OperationContext, RestierPipelineState, and RestierEntitySetOperation.
Syntax
public static string GetFunctionMethodName(Microsoft.Restier.Core.Operation.OperationContext operationImport, Microsoft.Restier.Core.RestierPipelineState restierPipelineState, Microsoft.Restier.Core.RestierOperationMethod restierOperation)
Parameters
| Name | Type | Description |
|---|
operationImport | Microsoft.Restier.Core.Operation.OperationContext | The OperationContext to generate a name for. |
restierPipelineState | Microsoft.Restier.Core.RestierPipelineState | The part of the Restier pipeline currently executing. |
restierOperation | Microsoft.Restier.Core.RestierOperationMethod | The RestierOperationMethod currently being executed. |
Returns
Type: string
A string representing the fully-realized MethodName.