IdeaBlade.EntityModel.Compat Assembly > IdeaBlade.EntityModel.Compat Namespace > EntityManagerAsyncExtensions Class : RefetchEntityAsync Method |
'Declaration
<ExtensionAttribute()> Public Shared Function RefetchEntityAsync( _ ByVal em As EntityManager, _ ByVal entity As Object, _ ByVal mergeStrategy As MergeStrategy, _ ByVal userCallback As Action(Of EntityRefetchOperation), _ Optional ByVal userState As Object _ ) As EntityRefetchOperation
'Usage
Dim em As EntityManager Dim entity As Object Dim mergeStrategy As MergeStrategy Dim userCallback As Action(Of EntityRefetchOperation) Dim userState As Object Dim value As EntityRefetchOperation value = EntityManagerAsyncExtensions.RefetchEntityAsync(em, entity, mergeStrategy, userCallback, userState)
[Extension()] public static EntityRefetchOperation RefetchEntityAsync( EntityManager em, object entity, MergeStrategy mergeStrategy, Action<EntityRefetchOperation> userCallback, object userState )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2