DataObjectIdentifierResolver.ContractIdentifier 메서드
지정 된 형식의 데이터 개체에 대 한 식별자 및 완전 한 식별자를 축소합니다.
네임스페이스: Microsoft.VisualStudio.Data.Framework
어셈블리: Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)
구문
‘선언
Public Overridable Function ContractIdentifier ( _
typeName As String, _
fullIdentifier As Object() _
) As Object()
public virtual Object[] ContractIdentifier(
string typeName,
Object[] fullIdentifier
)
public:
virtual array<Object^>^ ContractIdentifier(
String^ typeName,
array<Object^>^ fullIdentifier
)
abstract ContractIdentifier :
typeName:string *
fullIdentifier:Object[] -> Object[]
override ContractIdentifier :
typeName:string *
fullIdentifier:Object[] -> Object[]
public function ContractIdentifier(
typeName : String,
fullIdentifier : Object[]
) : Object[]
매개 변수
- typeName
형식: System.String
데이터 개체의 형식 이름입니다.
- fullIdentifier
형식: array<System.Object[]
데이터 개체의 전체 식별자입니다.
반환 값
형식: array<System.Object[]
데이터 개체에 대 한 부분, 계약 된 고유 식별자입니다.
구현
IVsDataObjectIdentifierResolver.ContractIdentifier(String, array<Object[])
설명
여전히 고유 하 게 개체를 식별 하는 가장 작은 가능한 식별자 전체 식별자 변환 하려면이 메서드를 재정의 합니다.사용자 dbo 전체 식별자 pubs 데이터베이스에 연결 된 경우 예를 들어, 데이터베이스에 있는 SQL Server pubs.dbo.authors 단순한 형태에 계약 수 authors.
상속자 참고 사항
파생된 클래스는이 메서드를 재정의 해야 합니다.기본 구현은 아무 작업도 수행 하지 및 반환 된 fullIdentifier 매개 변수 수정 합니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.