Class NpgsqlStringTypeMapping
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
The base class for mapping Npgsql-specific string types. It configures parameters with the NpgsqlDbType provider-specific type enum.
public class NpgsqlStringTypeMapping : StringTypeMapping, INpgsqlTypeMapping
- Inheritance
-
NpgsqlStringTypeMapping
- Implements
- Derived
- Inherited Members
Constructors
NpgsqlStringTypeMapping(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.
protected NpgsqlStringTypeMapping(RelationalTypeMapping.RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
Parameters
parameters
RelationalTypeMapping.RelationalTypeMappingParametersnpgsqlDbType
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.
public NpgsqlStringTypeMapping(string storeType, NpgsqlDbType npgsqlDbType)
Parameters
storeType
stringnpgsqlDbType
NpgsqlDbType
Properties
Default
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.
public static NpgsqlStringTypeMapping Default { get; }
Property Value
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.
public virtual NpgsqlDbType NpgsqlDbType { get; }
Property Value
Methods
Clone(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.
protected override RelationalTypeMapping Clone(RelationalTypeMapping.RelationalTypeMappingParameters parameters)
Parameters
Returns
Clone(NpgsqlDbType)
This method exists only to support the compiled model.
public virtual NpgsqlStringTypeMapping Clone(NpgsqlDbType npgsqlDbType)
Parameters
npgsqlDbType
NpgsqlDbType
Returns
Remarks
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.
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.
protected override void ConfigureParameter(DbParameter parameter)
Parameters
parameter
DbParameter