37 references to Keywords
System.Data (37)
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (37)
40
private static readonly Dictionary<string,
Keywords
> _keywords;
57
validKeywords[(int)
Keywords
.DataSource] = DbConnectionStringKeywords.DataSource;
58
validKeywords[(int)
Keywords
.FileName] = DbConnectionStringKeywords.FileName;
60
validKeywords[(int)
Keywords
.OleDbServices] = DbConnectionStringKeywords.OleDbServices;
61
validKeywords[(int)
Keywords
.PersistSecurityInfo] = DbConnectionStringKeywords.PersistSecurityInfo;
62
validKeywords[(int)
Keywords
.Provider] = DbConnectionStringKeywords.Provider;
65
Dictionary<string,
Keywords
> hash = new Dictionary<string,
Keywords
>(9, StringComparer.OrdinalIgnoreCase);
66
hash.Add(DbConnectionStringKeywords.DataSource,
Keywords
.DataSource);
67
hash.Add(DbConnectionStringKeywords.FileName,
Keywords
.FileName);
69
hash.Add(DbConnectionStringKeywords.OleDbServices,
Keywords
.OleDbServices);
70
hash.Add(DbConnectionStringKeywords.PersistSecurityInfo,
Keywords
.PersistSecurityInfo);
71
hash.Add(DbConnectionStringKeywords.Provider,
Keywords
.Provider);
90
Keywords
index;
104
Keywords
index;
107
case
Keywords
.DataSource: DataSource = ConvertToString(value); break;
108
case
Keywords
.FileName: FileName = ConvertToString(value); break;
110
case
Keywords
.Provider: Provider = ConvertToString(value); break;
112
case
Keywords
.OleDbServices: OleDbServices = ConvertToInt32(value); break;
114
case
Keywords
.PersistSecurityInfo: PersistSecurityInfo = ConvertToBoolean(value); break;
282
Reset((
Keywords
)i);
288
private object GetAt(
Keywords
index) {
290
case
Keywords
.DataSource: return DataSource;
291
case
Keywords
.FileName: return FileName;
293
case
Keywords
.OleDbServices: return OleDbServices;
294
case
Keywords
.PersistSecurityInfo: return PersistSecurityInfo;
295
case
Keywords
.Provider: return Provider;
306
Keywords
index;
316
private void Reset(
Keywords
index) {
318
case
Keywords
.DataSource:
321
case
Keywords
.FileName:
328
case
Keywords
.OleDbServices:
331
case
Keywords
.PersistSecurityInfo:
334
case
Keywords
.Provider:
367
Keywords
index;
402
Keywords
index;
488
Keywords
index;