dotnetcore / dotnetcore/FreeSql

System.Exception: 'Column, parameter, or variable #1: Cannot find data type İNT.'

Open
#2,205 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.4k
Forks
910
PR merge metrics
No merged PRs in 30d

Description

My computer's language settings are Turkish. However, when I set "Use AutoSync Structure(true)" and register it, I get the error "System.Exception: 'Column, parameter, or variable #1: Cannot find data type INT.'". In my model, it is defined as
[Column(IsIdentity = true, IsPrimary = true, DbType ="int")]
public int Id { get; set; }
Even if I set en-US in the culture settings, I continue to get the same error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.