mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
Update Kdbndp
This commit is contained in:
parent
bdc8768007
commit
3257607b9c
@ -6,6 +6,14 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
public class KdbndpDbBind : DbBindProvider
|
public class KdbndpDbBind : DbBindProvider
|
||||||
{
|
{
|
||||||
|
public override string GetDbTypeName(string csharpTypeName)
|
||||||
|
{
|
||||||
|
if (csharpTypeName == UtilConstants.ByteArrayType.Name)
|
||||||
|
return "bytea";
|
||||||
|
|
||||||
|
var result = base.GetDbTypeName(csharpTypeName);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
public override string GetPropertyTypeName(string dbTypeName)
|
public override string GetPropertyTypeName(string dbTypeName)
|
||||||
{
|
{
|
||||||
dbTypeName = dbTypeName.Replace("pg_catalog.", "");
|
dbTypeName = dbTypeName.Replace("pg_catalog.", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user