ModelDataSource.UpdateProperties 方法

定义

在模型绑定使用时更新所需的属性。

重载

名称 说明
UpdateProperties(String, String)

更新单向数据绑定所需的属性。

UpdateProperties(String, String, String, String, String, String)

更新双向数据绑定所需的属性。

UpdateProperties(String, String)

更新单向数据绑定所需的属性。

public:
 void UpdateProperties(System::String ^ modelTypeName, System::String ^ selectMethod);
public void UpdateProperties(string modelTypeName, string selectMethod);
member this.UpdateProperties : string * string -> unit
Public Sub UpdateProperties (modelTypeName As String, selectMethod As String)

参数

modelTypeName
String

模型类型的名称。

selectMethod
String

select 方法的名称。

适用于

UpdateProperties(String, String, String, String, String, String)

更新双向数据绑定所需的属性。

public:
 void UpdateProperties(System::String ^ modelTypeName, System::String ^ selectMethod, System::String ^ updateMethod, System::String ^ insertMethod, System::String ^ deleteMethod, System::String ^ dataKeyName);
public void UpdateProperties(string modelTypeName, string selectMethod, string updateMethod, string insertMethod, string deleteMethod, string dataKeyName);
member this.UpdateProperties : string * string * string * string * string * string -> unit
Public Sub UpdateProperties (modelTypeName As String, selectMethod As String, updateMethod As String, insertMethod As String, deleteMethod As String, dataKeyName As String)

参数

modelTypeName
String

模型类型的名称。

selectMethod
String

select 方法的名称。

updateMethod
String

更新方法的名称。

insertMethod
String

insert 方法的名称。

deleteMethod
String

delete 方法的名称。

dataKeyName
String

数据键名称。

适用于