添加保存字段语句 - AddISaveItemStringToInt
2017-02-19 13:23:33 访问(1857) 赞(0) 踩(0)
/// <summary>
/// 添加保存字段语句 - AddISaveItemStringToInt
/// </summary>
/// <param name="_info"></param>
/// <param name="strValue"></param>
public void AddISaveItemStringToInt
(
EntityFieldInfo _info,
string strValue
)
{
object _theValue = null;
if (strValue != null && strValue.Length > 0)
_theValue = int.Parse(strValue);
string _name = _info._Name.ToLower();
if (m_DictionaryISaveItem.ContainsKey(_name))
{
ISaveItem isaveItemValue = m_DictionaryISaveItem[_name];
isaveItemValue.theValue = _theValue;
}
else
{
m_DictionaryISaveItem.Add(_name, new SaveItem(_info, _theValue));
}
}
标签:
添加保存字段语句 - AddISaveItemStringToInt 


上一条:
下一条:
相关评论
发表评论