Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetNextParameter()

static DbParameter System.Data.Common.DbCommandBuilder.GetNextParameter ( DbCommand command,
int pcount )
inlinestaticprivate

Definition at line 1106 of file DbCommandBuilder.cs.

1107 {
1108 if (pcount < command.Parameters.Count)
1109 {
1110 return command.Parameters[pcount];
1111 }
1112 return command.CreateParameter();
1113 }

References System.Data.Common.DbParameterCollection.Count, System.Data.Common.DbCommand.CreateParameter(), and System.Data.Common.DbCommand.Parameters.

Referenced by System.Data.Common.DbCommandBuilder.CreateParameterForNullTest(), and System.Data.Common.DbCommandBuilder.CreateParameterForValue().