Exemple #1
0
            // generate parameter (name based on parameter ordinal)
            internal SQLiteParameter CreateParameter(object value, TypeUsage type)
            {
                PrimitiveTypeKind primitiveType = MetadataHelpers.GetPrimitiveTypeKind(type);
                DbType            dbType        = MetadataHelpers.GetDbType(primitiveType);

                return(CreateParameter(value, dbType));
            }