Definition
Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Model Inheritance: System.ObjectSyntax
Summary
Represents a model mapper based on a DbContext.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
TryGetRelevantType
Tries to get the relevant type of an entity set, singleton, or composable function import.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Model.ModelContext | The context for model mapper. |
name | string | The name of an entity set, singleton or composable function import. |
relevantType | System.Type | When this method returns, provides the relevant type of the queryable source. |
Returns
Type:bool
true if the relevant type was provided; otherwise, false.
TryGetRelevantType
Tries to get the relevant type of a composable function.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Model.ModelContext | The context for model mapper. |
namespaceName | string | The name of a namespace containing a composable function. |
name | string | The name of composable function. |
relevantType | System.Type | When this method returns, provides the relevant type of the composable function. |
Returns
Type:bool
true if the relevant type was provided; otherwise, false.
Related APIs
- Microsoft.Restier.Core.Model.IModelMapper