System.Data.Common.DbConnectionOptions.ConvertValueToBooleanInternal(string, string)

Here are the examples of the csharp api class System.Data.Common.DbConnectionOptions.ConvertValueToBooleanInternal(string, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public bool ConvertValueToBoolean(string keyName, bool defaultValue) {
            object value = _parsetable[keyName];
            if (null == value) {
                return defaultValue;
            }
            return ConvertValueToBooleanInternal(keyName, (string) value);
        }