SqlCeCommandBuilder.DataAdapter Property
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Gets or sets a SqlCeDataAdapter object for which SQL statements are automatically generated.
[Visual Basic] Public Property DataAdapter As SqlCeDataAdapter [C#] public SqlCeDataAdapter DataAdapter {get; set;} [C++] public: __property SqlCeDataAdapter* get_DataAdapter(); public: __property void set_DataAdapter(SqlCeDataAdapter*); [JScript] public function get DataAdapter() : SqlCeDataAdapter; public function set DataAdapter(SqlCeDataAdapter);
Property Value
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.
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeCommandBuilder Class | SqlCeCommandBuilder Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.