コード例 #1
0
 /// <summary>
 /// 根据sql条件查询单一字段内容
 /// </summary>
 /// <param name="where">sql条件</param>
 /// <param name="param">参数化</param>
 /// <returns></returns>
 public object Scalar(string sql, object param = null)
 {
     return(dal.Scalar(sql, param));
 }