System.Data.Common.DataStorage.IsSqlType(System.Type)

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

5 Examples 7

1. Example

Project: referencesource
Source File: AdapterUtil.cs
static internal void IsNullOrSqlType(object value, out bool isNull, out bool isSqlType) {
            if ((value == null) || (value == DBNull.Value)) {
                isNull = true;
                isSqlType = false;
            }
            else {
                INullable nullable = (value as INullable);
                if (nullable != null) {
                    isNull = nullable.IsNull;
                    isSqlType = DataStorage.IsSqlType(value.GetType());
                }
                else {
                    isNull = false;
                    isSqlType = false;
                }
            }
        }

2. Example

Project: referencesource
Source File: xmlsaver.cs
private void GenerateColumn(DataRow row, DataColumn col, DataRowVersion version) {
            strin/n ..... /n //View Source file for more details /n }

3. Example

Project: referencesource
Source File: xmlsaver.cs
internal void  XmlDataRowWriter(DataRow row, String encodedTableName) {

            object value;
 /n ..... /n //View Source file for more details /n }

4. Example

Project: referencesource
Source File: BinaryNode.cs
internal int BinaryCompare(object vLeft, object vRight, StorageType resultType, int op, CompareInfo /n ..... /n //View Source file for more details /n }

5. Example

Project: referencesource
Source File: BinaryNode.cs
private object EvalBinaryOp(int op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowV/n ..... /n //View Source file for more details /n }