Aracılığıyla paylaş


OracleClientFactory.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 belirlenmiş DbCommandBuilder bir örnek döndürür.

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim commandBuilder As DbCommandBuilder = newFactory.CreateCommandBuilder()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbCommandBuilder commandBuilder = newFactory.CreateCommandBuilder();  

Şunlara uygulanır