Пример #1
0
        public void AddSQLTableParm <T>(string parmName, IEnumerable <T> values, string typeName = "dbo.keyIds")
        {
            var parm = new SqlParameter(parmName, DbParamList.CreateDataTable(values))
            {
                SqlDbType = SqlDbType.Structured,
                TypeName  = typeName
            };

            Add(parmName, parm);
        }