See also:
NTier Windows Forms Framework Home
NTier Framework API reference

The ProjectSession type exposes the following members.

Constructors

  NameDescription
Public methodProjectSession
Initializes a new instance of the ProjectSession class

Methods

  NameDescription
Public methodCloseConnection
Public methodDispose()()()()
Releases all resources used by the ProjectSession
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the ProjectSession and optionally releases the managed resources
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object..::..Finalize()()()().)
Protected methodGetConnectionStringWithDataSourceAbsoluteToSolution
Protected methodGetConnectionStringWithDataSourceRelativeToSolution
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDataSourceChanged
Public methodSetConnectionString
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryOpenFromSavedConnectionString

Fields

Properties

  NameDescription
Public propertyConnectionProvider
Public propertyConnectionString
Get the ConnectionString of the database connection. Null is returned if an xml file is used.
Public propertyDbProvider
Get the DbProivder of the database connection. Null is returned if an xml file is used.
Public propertyIsConfigured
Get whether the database or xml connection has been configured.
Public propertyXmlFileName
Get the name of the xml file that contains the project data.

Events

  NameDescription
Public eventDataSourceChanged
Raised when the connection provider, connection string or xml file has changed.
Public eventQueryDbUpgrade
Raised to allow the subscribed to check the database version and upgrade if required.
Public eventXmlFileNameChanged

See Also