ModelDataSource.UpdateProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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)
Parameters
- modelTypeName
- String
The name of the model type.
- selectMethod
- String
The name of the select method.
Applies to
UpdateProperties(String, String, String, String, String, String)
Updates the required properties for two-way data binding.
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)
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.