T
Cocktail Help Reference
ResetFakeBackingStoreAsync<T> Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > FakeStoreEntityManagerProviderFns Class : ResetFakeBackingStoreAsync<T> Method



this

Glossary Item Box

Resets the fake backing store to its initial state.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
<AsyncStateMachineAttribute(Cocktail.FakeStoreEntityManagerProviderFns+d__3`1[T])>
<DebuggerStepThroughAttribute()>
Public Shared Function ResetFakeBackingStoreAsync(Of T As IdeaBlade.EntityModel.EntityManager)( _
   ByVal this As IEntityManagerProvider(Of T) _
) As Task(Of Boolean)
Visual Basic (Usage)Copy Code
Dim this As IEntityManagerProvider(Of T)
Dim value As Task(Of Boolean)
 
value = FakeStoreEntityManagerProviderFns.ResetFakeBackingStoreAsync(Of T)(this)
C# 
[ExtensionAttribute()]
[AsyncStateMachineAttribute(Cocktail.FakeStoreEntityManagerProviderFns+d__3`1[T])]
[DebuggerStepThroughAttribute()]
public static Task<bool> ResetFakeBackingStoreAsync<T>( 
   IEntityManagerProvider<T> this
)
where T: IdeaBlade.EntityModel.EntityManager
C++/CLI 
[ExtensionAttribute()]
[AsyncStateMachineAttribute(Cocktail.FakeStoreEntityManagerProviderFns+d__3`1[T])]
[DebuggerStepThroughAttribute()]
public:
static Task<bool>^ ResetFakeBackingStoreAsyncgeneric<typename T>
( 
   IEntityManagerProvider<T^>^ this
) 
where T: IdeaBlade.EntityModel.EntityManager

Parameters

this

Type Parameters

T

Return Value

Returns true if the EntityManagerProvider supports the fake backing store.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.