Condividi tramite


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:

See Also

SqlCeCommandBuilder Class | SqlCeCommandBuilder Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.