Пример #1
0
 /// <summary>
 /// 转换为可空int
 /// </summary>
 /// <param name="obj">数据</param>
 public static int?ToIntOrNull(this string obj)
 {
     return(Conv.ToIntOrNull(obj));
 }
Пример #2
0
 /// <summary>
 /// 转换为可空int
 /// </summary>
 /// <param name="data">数据</param>
 public static int?ToIntOrNull(this string data)
 {
     return(Conv.ToIntOrNull(data));
 }