ISqlKeywordDictionary Interface
Provides access to the members that control the dictionary for SQL Keywords.
Description
ISqlKeywordDictionary references can be accessed through the IFieldChecker.ValidateDictionary property. This interface can be used to determine whether a word is a keyword in SQL.
Members
Name | Description | |
---|---|---|
![]() |
Add | Adds a new illegal field name. |
![]() |
Count | Number of invalid field names. |
![]() |
Empty | Clears all the invalid field names. |
![]() |
FindKeyword | Indicates if the word is illegal (Legal = false, Illegal = true). |
![]() |
Name | Provides access to members that maintain a list of SQL Keywords. |
![]() |
Remove | Removes a illegal field name form the list. |
![]() |
Reset | Resets the invalid field names to the state before you called Clear, Add, or Remove. |
ISqlKeywordDictionary.Add Method
Adds a new illegal field name.
Public Sub Add ( _
ByVal reservedWord As String _
)
public void Add (
string reservedWord
);
ISqlKeywordDictionary.Count Property
Number of invalid field names.
Public Sub Count ( _
ByRef reservedWordCount As Integer _
)
public void Count (
ref int reservedWordCount
);
ISqlKeywordDictionary.Empty Method
Clears all the invalid field names.
Public Sub Empty ( _
)
public void Empty (
);
ISqlKeywordDictionary.FindKeyword Method
Indicates if the word is illegal (Legal = false, Illegal = true).
Public Function FindKeyword ( _
ByVal keyword As String _
) As Boolean
public bool FindKeyword (
string keyword
);
Remarks
Returns true if the string provided is a keyword; false otherwise. If false is returned, it does not necessarily mean the word is a valid field or table name, only that it is not reserved.
ISqlKeywordDictionary.Name Property
Provides access to members that maintain a list of SQL Keywords.
Public WriteOnly Property Name
public void Name {set;}
ISqlKeywordDictionary.Remove Method
Removes a illegal field name form the list.
Public Sub Remove ( _
ByVal reservedWord As String _
)
public void Remove (
string reservedWord
);
ISqlKeywordDictionary.Reset Method
Resets the invalid field names to the state before you called Clear, Add, or Remove.
Public Sub Reset ( _
)
public void Reset (
);
Classes that implement ISqlKeywordDictionary
Classes | Description |
---|