Remotion.Linq.SqlBackend.BooleanUtility.ConvertNullableIntToNullableBool C# (CSharp) Method

ConvertNullableIntToNullableBool() public static method

public static ConvertNullableIntToNullableBool ( int nullableValue ) : bool?
nullableValue int
return bool?
    public static bool? ConvertNullableIntToNullableBool (int? nullableValue)
    {
      return nullableValue.HasValue ? (bool?) Convert.ToBoolean (nullableValue.Value) : null;
    }