private static Dictionary<string, DbParameter> GetPrecedureParameters(DbParameterCollection parameters)
 {
     return parameters.Cast<DbParameter>().Where(p => p.Direction != ParameterDirection.ReturnValue).ToDictionary(p => string.IsNullOrEmpty(p.SourceColumn) ? p.ParameterName.TrimStart('@') : p.SourceColumn);
 }
 private static Dictionary<string, DbParameter> GetTargetParameters(DbParameterCollection parameters)
 {
     return parameters.Cast<DbParameter>()
         .Where(p => p.SourceVersion == DataRowVersion.Current && !p.SourceColumnNullMapping).ToDictionary(p => p.SourceColumn);
 }
 private static Dictionary<string, DbParameter> GetParameters(DbParameterCollection parameters)
 {
     return parameters.Cast<DbParameter>().Where(p => !p.SourceColumnNullMapping).ToDictionary(p => p.SourceColumn);
 }