ChangeSet.GetAssociatedChanges<TEntity, TResult> Method (TEntity, Expression<Func>)

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Function GetAssociatedChanges(Of TEntity, TResult) ( _
    entity As TEntity, _
    expression As Expression(Of Func) _
) As IEnumerable
'Usage
Dim instance As ChangeSet
Dim entity As TEntity
Dim expression As Expression(Of Func)
Dim returnValue As IEnumerable

returnValue = instance.GetAssociatedChanges(entity, _
    expression)
public IEnumerable GetAssociatedChanges<TEntity, TResult>(
    TEntity entity,
    Expression<Func> expression
)
public:
generic<typename TEntity, typename TResult>
IEnumerable^ GetAssociatedChanges(
    TEntity entity, 
    Expression<Func^>^ expression
)
member GetAssociatedChanges : 
        entity:'TEntity * 
        expression:Expression<Func> -> IEnumerable 
JScript does not support generic types and methods.

Type Parameters

  • TEntity
  • TResult

Parameters

  • entity
    Type: TEntity

Return Value

Type: System.Collections.IEnumerable

See Also

Reference

ChangeSet Class

GetAssociatedChanges Overload

System.ServiceModel.DomainServices.Server Namespace