Could not find type mapping for column 'xxxx' with data type 'timestamp'. Skipping column.
Posted by: Евгений Приходько
Date: March 11, 2021 01:17PM

Hi.
How to solve a problem?

Scaffold-DbContext "server=127.0.0.1;database=db2;user=root;password=pasword;Allow Zero Datetime=true;Convert Zero Datetime=true" MySql.EntityFrameworkCore -Context "AppDBContext"

<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.12">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.5" />
<PackageReference Include="MySql.EntityFrameworkCore" Version="3.1.10" />

Options: ReplyQuote


Subject
Written By
Posted
Could not find type mapping for column 'xxxx' with data type 'timestamp'. Skipping column.
March 11, 2021 01:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.