コード例 #1
0
        public string GetIdentifier(IConvertible param)
        {
            if (param == null)
            {
                return("NULL");
            }

            var identifier = "@" + Math.Abs(param.GetHashCode());

            if (!Params.ContainsKey(identifier))
            {
                Params.Add(identifier, param);
            }
            return(identifier);
        }