Class NpgsqlStringTypeMapping
The base class for mapping Npgsql-specific string types. It configures parameters with the NpgsqlDbType provider-specific type enum.
Implements
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlStringTypeMapping : StringTypeMapping, INpgsqlTypeMapping
Constructors
| Improve this Doc View SourceNpgsqlStringTypeMapping(RelationalTypeMappingParameters, NpgsqlDbType)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
Declaration
protected NpgsqlStringTypeMapping(RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
Parameters
Type | Name | Description |
---|---|---|
RelationalTypeMappingParameters | parameters | |
NpgsqlDbType | npgsqlDbType |
NpgsqlStringTypeMapping(string, NpgsqlDbType)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
Declaration
public NpgsqlStringTypeMapping(string storeType, NpgsqlDbType npgsqlDbType)
Parameters
Type | Name | Description |
---|---|---|
string | storeType | |
NpgsqlDbType | npgsqlDbType |
Properties
| Improve this Doc View SourceNpgsqlDbType
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
Declaration
public virtual NpgsqlDbType NpgsqlDbType { get; }
Property Value
Type | Description |
---|---|
NpgsqlDbType |
Methods
| Improve this Doc View SourceClone(RelationalTypeMappingParameters)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
Declaration
protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
RelationalTypeMappingParameters | parameters |
Returns
Type | Description |
---|---|
RelationalTypeMapping |
ConfigureParameter(DbParameter)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
Declaration
protected override void ConfigureParameter(DbParameter parameter)
Parameters
Type | Name | Description |
---|---|---|
DbParameter | parameter |