private static TProfiling.SqlTimingParameter BuildSqlParameter(SExchange.SqlTiming mSqlTiming, TProfiling.SqlTiming sqlTiming, int sqlpIndex)
 {
     var mSqlParameter = mSqlTiming.Parameters[sqlpIndex];
     var sqlParameter = new TProfiling.SqlTimingParameter()
     {
         DbType = mSqlParameter.DbType,
         Name = mSqlParameter.Name,
         Size = mSqlParameter.Size,
         Value = mSqlParameter.Value,
         SqlTimingId = sqlTiming.Id,
     };
     return sqlParameter;
 }
 private static void BuildSqlParameter(spGetSqlTimingsResult sqlResult, SqlTiming preservedSqlResult)
 {
     var sqlParamter = new SqlTimingParameter();
     sqlParamter.DbType = sqlResult.DbType ?? UNKNOWN;
     sqlParamter.Name = sqlResult.Name ?? UNKNOWN;
     sqlParamter.Size = sqlResult.Size.GetValueOrDefault();
     sqlParamter.SqlTimingId = preservedSqlResult.Id;
     sqlParamter.Value = sqlResult.Value ?? UNKNOWN;
     preservedSqlResult.Parameters.Add(sqlParamter);
 }