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