Aracılığıyla paylaş


SqlClientFactory.CreateCommandBuilder Yöntem

Tanım

Kesin olarak belirlenmiş DbCommandBuilder bir örnek döndürür.

public:
 override System::Data::Common::DbCommandBuilder ^ CreateCommandBuilder();
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder ();
override this.CreateCommandBuilder : unit -> System.Data.Common.DbCommandBuilder
Public Overrides Function CreateCommandBuilder () As DbCommandBuilder

Döndürülenler

Türü kesin olarak belirlenmiş yeni bir DbCommandBuilderörneği.

Örnekler

Aşağıdaki kod parçası kesin olarak türü belirlenmiş DbCommandBuilder bir örnek döndürür:

Dim newFactory As SqlClientFactory = SqlClientFactory.Instance
Dim cmd As DbCommandBuilder = newFactory.CreateCommandBuilder()
SqlClientFactory newFactory = SqlClientFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Şunlara uygulanır

Ayrıca bkz.