Cocktail Help Reference
ConnectionOptions Class Members
See Also  Fields  Properties  Methods  Send Feedback
Cocktail Assembly > Cocktail Namespace : ConnectionOptions Class


Glossary Item Box

The following tables list the members exposed by ConnectionOptions.

Public Constructors

 NameDescription
Public ConstructorConnectionOptions ConstructorCreates a ConnectionOptions instance with the given name and options.  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)DefaultThe default connection options. Used when nothing else is specified.  
Public Fieldstatic (Shared in Visual Basic)DesignTimeThe connection options used at design time.  
Public Fieldstatic (Shared in Visual Basic)FakeThe connection options used to connect to the fake backing store.  
Top

Public Properties

 NameDescription
Public PropertyCompositionContextReturns the IdeaBlade.Core.Composition.CompositionContext used for this connection.  
Public PropertyDataSourceExtensionSpecifies what run-time data source key(s) will be used.  
Public PropertyEntityServiceOptionSpecifies whether you will be using local or distributed data sources.  
Public PropertyIsDesignTimeSpecifies whether this ConnectionOptions are used for design time.  
Public PropertyIsFakeReturns whether fake filtering is performed.  
Public PropertyNameThe name of this ConnectionOptions instance.  
Public PropertyServiceKeyNames the key providing the address of the application server with which the EntityManager will communicate.  
Public PropertyShouldConnectSpecifies whether the EntityManager will attempt to connect to the EntityServer as soon as it is created.  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)GetByNameRetrieves the ConnectionOptions with the specified name.  
Public MethodToEntityManagerContextConverts the ConnectionOptions to a IdeaBlade.EntityModel.EntityManagerContext instance.  
Public MethodToLoginOptionsConverts the ConnectionOptions to a IdeaBlade.EntityModel.Security.LoginOptions instance.  
Public MethodWithCompositionContextCreates a new ConnectionOptions from the current ConnectionOptions and assigns the specified CompositionContext name.  
Public MethodWithDataSourceExtensionCreates a new ConnectionOptions from the current ConnectionOptions and assigns the specified data source extension.  
Public MethodWithEntityServiceOptionCreates a new ConnectionOptions from the current ConnectionOptions and assigns the specified EntityServiceOption.  
Public MethodWithNameCreates a new ConnectionOptions from the current ConnectionOptions and assigns the specified name.  
Public MethodWithServiceKeyCreates a new ConnectionOptions from the current ConnectionOptions and assigns the specified service key.  
Public MethodWithShouldConnectCreates a new ConnectionOptions from the current ConnectionOptions and specifies whether an EntityManager should connect.  
Top

See Also

© 2013 All Rights Reserved.