See also:
NTier Windows Forms Framework Home
NTier Framework API reference
NTier Windows Forms Framework Home
NTier Framework API reference
The ProjectSession type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ProjectSession | Initializes a new instance of the ProjectSession class |
Methods
Name | Description | |
---|---|---|
![]() | CloseConnection | |
![]() | Dispose()()()() | Releases all resources used by the ProjectSession |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the ProjectSession and optionally releases the managed resources |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Overrides Object..::..Finalize()()()().) |
![]() | GetConnectionStringWithDataSourceAbsoluteToSolution | |
![]() | GetConnectionStringWithDataSourceRelativeToSolution | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDataSourceChanged | |
![]() | SetConnectionString | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryOpenFromSavedConnectionString |
Fields
Name | Description | |
---|---|---|
![]() ![]() | ConnectionStringPersistKey | |
![]() ![]() | DataProviderPersistKey |
Properties
Name | Description | |
---|---|---|
![]() | ConnectionProvider | |
![]() | ConnectionString |
Get the ConnectionString of the database connection.
Null is returned if an xml file is used.
|
![]() | DbProvider |
Get the DbProivder of the database connection.
Null is returned if an xml file is used.
|
![]() | IsConfigured |
Get whether the database or xml connection has been configured.
|
![]() | XmlFileName |
Get the name of the xml file that contains the project data.
|
Events
Name | Description | |
---|---|---|
![]() | DataSourceChanged |
Raised when the connection provider, connection string or xml file has changed.
|
![]() | QueryDbUpgrade |
Raised to allow the subscribed to check the database version and upgrade if required.
|
![]() | XmlFileNameChanged |