关键字 | 默认值 | 描述 |
---|---|---|
Default Command Timeout,command timeout,DefaultCommandTimeout | 30 | 向GBase Server发出SQL命令后,等待服务器返回的超时时间 |
Persist Security Info,PersistSecurityInfo | false | 当设置为false或no时,安全敏感信息,如:密码,在连接打开后,连接对象属性中不可见。可以设置的值有true和false,yes和no |
Allow Zero Datetime,AllowZeroDatetime | false | 如果设置为true,将返回针对date和datetime列的含有非法值的GBaseDateTime对象,如果设置为false,将抛出异常 |
Convert Zero Datetime,ConvertZeroDateTime | false | 如果设置为true,则会将对象的非法值转换为合法值。如:0000-00-00转换成0100-01-01 |
Procedure Cache Size,procedure cache,procedurecache,ProcedureCacheSize | 25 | 设置存储过程缓存个数,接口默认将存储最近使用的25个存储过程的metadata(输入/输出数据类型)。若要禁用缓存,请设置此参数为0 |
Respect Binary Flags,RespectBinaryFlags | true | 默认时,执行查询"SELECT CONCAT('hello,world',1)"后的列值将转换为byte[]类型。设置为false时,则将列值转换为string类型 |
functions return string,FunctionsReturnString | false | 设置为true时,所有的服务器函数执行后的结果都转换为string类型 |
GBase ADO.NET连接字符串(3)
最新推荐文章于 2024-01-23 17:42:15 发布