T
IdeaBlade Application Framework
UsesFakeStore<T> Method
See Also  Send Feedback
Caliburn.Micro.Extensions Namespace > FrameworkBootstrapper Class : UsesFakeStore<T> Method



Indicates to the framework, that the provided EntityManager type makes use of the DevForce Fake Backing Store.

Syntax

Visual Basic (Declaration) 
Protected Shared Sub UsesFakeStore(Of T As IdeaBlade.EntityModel.EntityManager)() 
Visual Basic (Usage)Copy Code
FrameworkBootstrapper.UsesFakeStore(Of T)()
C# 
protected static void UsesFakeStore<T>()where T: IdeaBlade.EntityModel.EntityManager
C++/CLI 
protected:
static void UsesFakeStoregeneric<typename T>
(); where T: IdeaBlade.EntityModel.EntityManager

Type Parameters

T

Remarks

By registering the EntityManager type with this method, the framework makes sure, that the fake backing store gets initialized. The fake backing store is either initialized by the development harness or before login, if you are not running the harness. If the application doesn't login first, the fake backing store must be manually initialized.

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

© 2012 All Rights Reserved.