mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-09 07:07:59 +08:00
22 lines
493 B
C#
22 lines
493 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|