Browse Source

Update Kdbndp

pull/32/head
sunkaixuan 2 years ago
parent
commit
3257607b9c
  1. 8
      Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs

8
Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs

@ -6,6 +6,14 @@ namespace SqlSugar
{
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)
{
dbTypeName = dbTypeName.Replace("pg_catalog.", "");

Loading…
Cancel
Save