Remotion.Linq.SqlBackend.BooleanUtility.ConvertNullableIntToNullableBool C# (CSharp) Méthode

ConvertNullableIntToNullableBool() public static méthode

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