제공된 쿼리 연속 개체를 사용하여 데이터 서비스에서 다음 관련 엔터티 페이지를 로드합니다.
Silverlight용 WCF Data Services 5.0 클라이언트에서 지원되지 않습니다.
네임스페이스: System.Data.Services.Client
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
Public Function LoadProperty ( _
entity As Object, _
propertyName As String, _
continuation As DataServiceQueryContinuation _
) As QueryOperationResponse
‘사용 방법
Dim instance As DataServiceContext
Dim entity As Object
Dim propertyName As String
Dim continuation As DataServiceQueryContinuation
Dim returnValue As QueryOperationResponse
returnValue = instance.LoadProperty(entity, _
propertyName, continuation)
public QueryOperationResponse LoadProperty(
Object entity,
string propertyName,
DataServiceQueryContinuation continuation
)
public:
QueryOperationResponse^ LoadProperty(
Object^ entity,
String^ propertyName,
DataServiceQueryContinuation^ continuation
)
member LoadProperty :
entity:Object *
propertyName:string *
continuation:DataServiceQueryContinuation -> QueryOperationResponse
public function LoadProperty(
entity : Object,
propertyName : String,
continuation : DataServiceQueryContinuation
) : QueryOperationResponse
매개 변수
- entity
유형: System.Object
로드할 속성을 포함하는 엔터티입니다.
- propertyName
유형: System.String
로드할 지정된 엔터티의 속성 이름입니다.
- continuation
유형: System.Data.Services.Client.DataServiceQueryContinuation
데이터 서비스에서 로드할 다음 관련 엔터티 페이지를 나타내는 DataServiceQueryContinuation<T> 개체입니다.
반환 값
유형: System.Data.Services.Client.QueryOperationResponse
쿼리 결과의 다음 관련 엔터티 데이터 페이지를 포함하는 응답입니다.
예외
| 예외 | 조건 |
|---|---|
| InvalidOperationException |
주의
entity가 Unchanged 또는 Modified 상태이면 관련 엔터티가 Unchanged 상태의 개체로 로드되고 링크도 Unchanged 상태로 제공됩니다.
entity가 Deleted 상태이면 관련 엔터티가 Unchanged 상태의 개체로 로드되고 링크가 Deleted 상태로 제공됩니다.