IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityServiceOption Enumeration |
'Declaration
Public Enum EntityServiceOption Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As EntityServiceOption
public enum EntityServiceOption : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
UseDefaultService | Use the IdeaBlade.Core.IdeaBladeConfig.ObjectServer.IsDistributed setting from the IdeaBlade Configuration file. |
UseDistributedService | Ignore the IdeaBlade Configuration file setting and always use a distributed service for the EntityManager. |
UseLocalService | Ignore the IdeaBlade Configuration file setting and always use a local service for the EntityManager. |
The EntityServiceOption setting can be useful if you need to use both local and distributed data sources within the same application. You can construct one EntityManager with the UseLocalService option, and then construct a second EntityManager with the default setting.
If you use the UseDistributedService value, then you must ensure that the IdeaBlade Configuration file contains sufficient information to locate the Entity Service.
System.Object
System.ValueType
System.Enum
IdeaBlade.EntityModel.EntityServiceOption
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