internal static Boolean EqualIgnoreCase(this String str, EntityAccessorOptions option) { //if (String.IsNullOrEmpty(str)) return false; return(str.EqualIgnoreCase(option.ToString())); }
/// <summary>设置参数。返回自身,方便链式写法。</summary> /// <param name="option">参数名</param> /// <param name="value">参数值</param> /// <returns></returns> IEntityAccessor IEntityAccessor.SetConfig(EntityAccessorOptions option, Object value) { return(SetConfig(option.ToString(), value)); }
/// <summary>设置参数。返回自身,方便链式写法。</summary> /// <param name="option">参数名</param> /// <param name="value">参数值</param> /// <returns></returns> IEntityAccessor IEntityAccessor.SetConfig(EntityAccessorOptions option, Object value) { return SetConfig(option.ToString(), value); }
internal static Boolean EqualIgnoreCase(this String str, EntityAccessorOptions option) { //if (String.IsNullOrEmpty(str)) return false; return(String.Equals(str, option.ToString(), StringComparison.OrdinalIgnoreCase)); }
internal static Boolean EqualIgnoreCase(this String str, EntityAccessorOptions option) { //if (String.IsNullOrEmpty(str)) return false; return String.Equals(str, option.ToString(), StringComparison.OrdinalIgnoreCase); }