Example #1
0
    public static DbParamList Make(IEnumerable <SqlParameter> parms)
    {
        var prmLst = new DbParamList();

        prmLst.AddRange(parms);
        return(prmLst);
    }
Example #2
0
    public static DbParamList Make(params SqlParameter[] parms)
    {
        var prmLst = new DbParamList();

        prmLst.AddRange(parms);
        return(prmLst);
    }