SqlCeCommandBuilder.DataAdapter Property
Gets or sets a SqlCeDataAdapter object for which SQL statements are automatically generated.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property DataAdapter As SqlCeDataAdapter
Get
Set
'Usage
Dim instance As SqlCeCommandBuilder
Dim value As SqlCeDataAdapter
value = instance.DataAdapter
instance.DataAdapter = value
public SqlCeDataAdapter DataAdapter { get; set; }
public:
property SqlCeDataAdapter^ DataAdapter {
SqlCeDataAdapter^ get ();
void set (SqlCeDataAdapter^ value);
}
member DataAdapter : SqlCeDataAdapter with get, set
function get DataAdapter () : SqlCeDataAdapter
function set DataAdapter (value : SqlCeDataAdapter)
Property Value
Type: System.Data.SqlServerCe.SqlCeDataAdapter
A SqlCeDataAdapter object.
Remarks
The SqlCeCommandBuilder registers itself as a listener for RowUpdating events that are generated by the SqlCeDataAdapter specified in this property.
When you create a new instance of SqlCeCommandBuilder, any existing SqlCeCommandBuilder associated with this SqlCeDataAdapter is released.