Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.ObjectSyntax
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
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
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
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
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.