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)

public SqlCeDataAdapter DataAdapter { get; set; }

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.

Show: