다음을 통해 공유


SqlClientFactory.CreateCommandBuilder 메서드

정의

강력한 형식의 DbCommandBuilder 인스턴스를 반환합니다.

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

반환

강력한 형식의 새 인스턴스입니다 DbCommandBuilder .

예제

다음 코드 조각은 강력한 형식 DbCommandBuilder 의 인스턴스를 반환합니다.

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

적용 대상