7 instantiations of SqlParameter
System.Data.Linq (7)
SqlClient\Query\SqlDuplicator.cs (1)
191
SqlParameter n = new
SqlParameter
(p.ClrType, p.SqlType, p.Name, p.SourceExpression);
SqlClient\Query\SqlMultiplexer.cs (1)
245
SqlParameter sp = new
SqlParameter
(clrType, expr.SqlType, "@x" + (this.parameters.Count + 1), expr.SourceExpression);
SqlClient\Query\SqlParameterizer.cs (5)
79
new
SqlParameter
(typeof(int), typeProvider.From(typeof(int)), "@ROWCOUNT", block.SourceExpression)
116
p = new
SqlParameter
(cp.ClrType, cp.SqlType, this.parameterizer.CreateParameterName(), cp.SourceExpression);
120
p = new
SqlParameter
(cp.ClrType, this.timeProviderType, this.parameterizer.CreateParameterName(), cp.SourceExpression);
215
SqlParameter p = new
SqlParameter
(typeof(int?), this.parameterizer.typeProvider.From(typeof(int)), "@RETURN_VALUE", spc.SourceExpression);
291
SqlParameter p = new
SqlParameter
(cp.ClrType, cp.SqlType, this.parameterizer.CreateParameterName(), cp.SourceExpression);
33 references to SqlParameter
System.Data.Linq (33)
SqlClient\Common\SqlNode.cs (3)
1897
private List<
SqlParameter
> parameters;
1904
this.parameters = new List<
SqlParameter
>();
1920
internal List<
SqlParameter
> Parameters {
SqlClient\Common\SqlVisitor.cs (2)
128
result = this.VisitParameter((
SqlParameter
)node);
397
internal virtual SqlExpression VisitParameter(
SqlParameter
p) {
SqlClient\Query\SqlDuplicator.cs (3)
98
nq.Parameters.Add((
SqlParameter
)this.VisitExpression(cq.Parameters[i]));
190
internal override SqlExpression VisitParameter(
SqlParameter
p) {
191
SqlParameter
n = new SqlParameter(p.ClrType, p.SqlType, p.Name, p.SourceExpression);
SqlClient\Query\SqlFormatter.cs (1)
432
internal override SqlExpression VisitParameter(
SqlParameter
p) {
SqlClient\Query\SqlMultiplexer.cs (7)
18
internal SqlMultiplexer(Options options, IEnumerable<System.Data.Linq.SqlClient.
SqlParameter
> parentParameters, SqlFactory sqlFactory) {
33
IEnumerable<System.Data.Linq.SqlClient.
SqlParameter
> parentParameters;
35
internal Visitor(Options options, IEnumerable<System.Data.Linq.SqlClient.
SqlParameter
> parentParameters, SqlFactory sqlFactory) {
203
internal static SqlClientQuery Extract(SqlSubSelect subquery, IEnumerable<System.Data.Linq.SqlClient.
SqlParameter
> parentParameters) {
215
List<
SqlParameter
> parameters;
217
internal Visitor(List<SqlExpression> externals, List<
SqlParameter
> parameters)
245
SqlParameter
sp = new SqlParameter(clrType, expr.SqlType, "@x" + (this.parameters.Count + 1), expr.SourceExpression);
SqlClient\Query\SqlParameterizer.cs (13)
18
SqlParameter
parameter;
21
internal SqlParameterInfo(
SqlParameter
parameter, Delegate accessor) {
25
internal SqlParameterInfo(
SqlParameter
parameter, object value) {
29
internal SqlParameterInfo(
SqlParameter
parameter) {
45
internal
SqlParameter
Parameter {
111
private
SqlParameter
InsertLookup(SqlValue cp) {
114
SqlParameter
p;
187
return (
SqlParameter
)result;
202
SqlParameter
arg = spc.Arguments[i] as
SqlParameter
;
215
SqlParameter
p = new SqlParameter(typeof(int?), this.parameterizer.typeProvider.From(typeof(int)), "@RETURN_VALUE", spc.SourceExpression);
222
private bool RetypeOutParameter(
SqlParameter
node) {
291
SqlParameter
p = new SqlParameter(cp.ClrType, cp.SqlType, this.parameterizer.CreateParameterName(), cp.SourceExpression);
SqlClient\SqlProvider.cs (4)
834
private ICompiledSubQuery CompileSubQuery(SqlNode query, Type elementType, ReadOnlyCollection<Me.
SqlParameter
> parameters) {
1438
private QueryInfo[] BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection<Me.
SqlParameter
> parentParameters, SqlNodeAnnotations annotations) {
1739
ReadOnlyCollection<Me.
SqlParameter
> parameters;
1742
internal CompiledSubQuery(QueryInfo queryInfo, IObjectReaderFactory factory, ReadOnlyCollection<Me.
SqlParameter
> parameters, ICompiledSubQuery[] subQueries) {