Here are the examples of the csharp api class System.Data.Common.DbCommandBuilder.ParameterNames.GetNextGenericParameterName() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licenseinternal void GenerateMissingNames(DbSchemaRow[] schemaRows) { // foreach name in base names // if base name is null // for base, original and nullnames (null names only if nullable) // do // generate name based on current index // increment index // search name in base names // loop while name occures in base names // end for // end foreach string name; for (int i = 0; i < _baseParameterNames.Length; i++) { name = _baseParameterNames[i]; if (null == name) { _baseParameterNames[i] = GetNextGenericParameterName(); _originalParameterNames[i] = GetNextGenericParameterName(); // don't bother generating an 'IsNull' name if it's not used if ((null != schemaRows[i]) && schemaRows[i].AllowDBNull) { _nullParameterNames[i] = GetNextGenericParameterName(); } } } }