AdoDotNetParameter.SetTypeCore 方法

使用 Enum.Parse尝试将字符串分析类型到 DbType 枚举值。 如果此操作失败,方法采用 DbType.Object 作为正确 DbType

命名空间:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Protected Overrides Sub SetTypeCore ( _
    value As String _
)
protected override void SetTypeCore(
    string value
)
protected:
virtual void SetTypeCore(
    String^ value
) override
abstract SetTypeCore : 
        value:string -> unit  
override SetTypeCore : 
        value:string -> unit
protected override function SetTypeCore(
    value : String
)

参数

  • value
    类型:String

    参数数据类型。

.NET Framework 安全性

请参阅

参考

AdoDotNetParameter 类

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空间

GetTypeCore