ModelDataSource.UpdateProperties Method

Definition

Updates the required properties when model binding is in use.

Overloads

UpdateProperties(String, String)

Updates the required properties for one-way data binding.

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

Updates the required properties for two-way data binding.

UpdateProperties(String, String)

Updates the required properties for one-way data binding.

C#
public void UpdateProperties(string modelTypeName, string selectMethod);

Parameters

modelTypeName
String

The name of the model type.

selectMethod
String

The name of the select method.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Updates the required properties for two-way data binding.

C#
public void UpdateProperties(string modelTypeName, string selectMethod, string updateMethod, string insertMethod, string deleteMethod, string dataKeyName);

Parameters

modelTypeName
String

The name of the model type.

selectMethod
String

The name of the select method.

updateMethod
String

The name of the update method.

insertMethod
String

The name of the insert method.

deleteMethod
String

The name of the delete method.

dataKeyName
String

The data key name.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1