Skip to content

Z.EntityFramework.Plus.EFCore: Postgres database, JSONB data type and FutureValue (InvalidCastException) #688

Open
@thebestgin

Description

@thebestgin

Hi,

I have a problem with Z.EntityFramework.Plus.EFCore in combination with Postgres database, JSONB data type and EFPlus FutureValue.

I got this exeption: System.InvalidCastException: 'Unable to cast object of type 'System.String' to type

Is there any change to fix the problem?

public class SomeClass
{
	publig int Id { get; set; }

    [Column(TypeName = "jsonb")]
    public SummeryPlain SummeryPlain { get; set; }		
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions