SqlFunctionExpression.ApplyTypeMapping(RelationalTypeMapping) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies supplied type mapping to this expression.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression ApplyTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression ApplyTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
abstract member ApplyTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
override this.ApplyTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function ApplyTypeMapping (typeMapping As RelationalTypeMapping) As SqlFunctionExpression
Parameters
- typeMapping
- RelationalTypeMapping
A relational type mapping to apply.
Returns
A new expression which has supplied type mapping.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework