public static SqlString ConvertMoneyToCN(SqlMoney money) { if (money.IsNull) return SqlString.Null; // 在此处放置代码 return new SqlString(MoneyConverter.GetCnString(money.ToString())); }
/// <summary> /// Converts the value of the specified SqlMoney to its equivalent String representation. /// </summary> /// <param name="value">An SqlMoney.</param> /// <returns>The String equivalent of the SqlMoney.</returns> public static String ToString(SqlMoney value) { return value.ToString(); }
/// <summary>Converts the value from <c>SqlMoney</c> to an equivalent <c>String</c> value.</summary> public static String ToString(SqlMoney p) { return p.ToString(); }