Class NpgsqlOwnedJsonTypeMapping
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
Supports the standard EF JSON support, which relies on owned entity modeling. See NpgsqlJsonTypeMapping for the older Npgsql-specific support, which allows mapping json/jsonb to text, to e.g. JsonElement (weakly-typed mapping) or to arbitrary POCOs (but without them being modeled).
public class NpgsqlOwnedJsonTypeMapping : JsonTypeMapping
- Inheritance
-
NpgsqlOwnedJsonTypeMapping
- Inherited Members
Constructors
NpgsqlOwnedJsonTypeMapping(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 NpgsqlOwnedJsonTypeMapping(RelationalTypeMapping.RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
Parameters
parametersRelationalTypeMapping.RelationalTypeMappingParametersnpgsqlDbTypeNpgsqlDbType
NpgsqlOwnedJsonTypeMapping(string)
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 NpgsqlOwnedJsonTypeMapping(string storeType)
Parameters
storeTypestring
Properties
NpgsqlDbType
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
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
parameterDbParameter
CustomizeDataReaderExpression(Expression)
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 override Expression CustomizeDataReaderExpression(Expression expression)
Parameters
expressionExpression
Returns
EscapeSqlLiteral(string)
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 virtual string EscapeSqlLiteral(string literal)
Parameters
literalstring
Returns
GenerateNonNullSqlLiteral(object)
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 string GenerateNonNullSqlLiteral(object value)
Parameters
valueobject
Returns
GetDataReaderMethod()
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 override MethodInfo GetDataReaderMethod()