SqlSugar/Src/Asp.NetCore2/SqlSugar.DuckDBCore/Extensions.cs

22 lines
493 B
C#
Raw Normal View History

2025-04-22 13:02:53 +08:00
using System;
using System.Collections.Generic;
using System.Text;
namespace SqlSugar.DuckDB
{
public static class Extensions
{
public static bool EqualCase(this string thisValue, string equalValue)
{
if (thisValue != null && equalValue != null)
{
return thisValue.ToLower() == equalValue.ToLower();
}
else
{
return thisValue == equalValue;
}
}
}
}