This file contains the following topics:
Pervasive PSQL v11 SP1 provides two versions of the ADO.NET Data Provider, version 3.2 and 3.5. Both versions are installed by default with the database engine.
The Pervasive PSQL ADO.NET Data Provider 3.2 has no new features from prior versions of the 3.2 Provider. It is included for application developers who want to use that version with Pervasive PSQL v11 SP1.
Pervasive PSQL ADO.NET Data Provider 3.5 supports the new features in .NET Framework 3.5 SP1. (The 3.5 Provider does not support new features introduced in .NET Framework 4.0 but will run under the .NET Framework 4.0 with support for all the Entity Framework 1.0 features.)
The Pervasive PSQL ADO.NET Data Provider runs as 100% managed code and can run and connect to the database entirely within the common language runtime (CLR).
See the section Whats New in this Release? in Pervasive PSQL Data Provider for .NET Guide for the new features.
The files required for the Pervasive PSQL Data Provider for ADO.NET are provided through two different installations. The Provider assemblies are included by default when the Pervasive PSQL database engine is installed. The design-time files, sample source code, templates, and libraries, are included in the software development kit (SDK) installation for the ADO.NET access method.
The installation of the database engine copies the Provider assemblies to version-specific directories under the PSQL\bin directory in the 32-bit PSQL installation location. Separate directories are used for 3.2 and 3.5.
If the installation detects a supported version of the .NET Framework, the following also occurs:
Note: The instances are added to the DbProviderFactories namespace only for final, GA, releases of the .NET Framework. The namespace is not updated if the .NET Framework installed on the system is any release prior to the GA one, such as alpha, beta or RC.
The generic Provider instance (Pervasive.Data.SqlClient) always points to the latest Provider assembly.
The Provider assemblies copied to the PSQL\bin directory are not pre-compiled at install time. That is, they are not added to the Windows native image service on the local computer. If you include the Provider assemblies as private side-by-side assemblies installed with your application and want them added to the Windows native image service on the target system, your installation must add them. Refer to the topic Native Image Service in the Microsoft MSDN Library.
Note If the installation of the database engine detects any Pervasive PSQL ADO.NET Data Provider prior to version 3.2, the older Provider is uninstalled.
The design-time files needed for the different Pervasive Membership Providers for ASP.NET and Visual Studio integration are available via Web downloads from the Pervasive Software web site. Each assembly version has its own SDK installation executable. See http://www.pervasivedb.com.
The Membership Providers should be installed on the computer where .NET application development will be performed, and also on the client computer(s) that will execute the application.
Each Membership Provider is installed to the GAC during the installation process.
In addition to installing the sample source code files, templates, and libraries, the SDK installation executable also performs the following integration for the Pervasive PSQL ADO.NET Data Provider:
If you install Visual Studio after installing the Pervasive PSQL ADO.NET SDK, re-run the SDK installation executable. The SDK installation integrates the Pervasive PSQL Membership Provider with Visual Studio.
For the Logging Application Block to function correctly, you must include the following line in your application:
ConfigurationManager.GetSection("Pervasive.Data.SqlClient.Entity");
The following information can help you decide how you want to design your application to function with the Pervasive PSQL ADO.NET Data Provider.
The ASP.NET Login controls use the custom Pervasive Membership Provider to specify a separate database for storing user information.
Additional information about writing a custom membership provider is available at http://msdn2.microsoft.com/en-us/library/f1kyba5e.aspx.
See Libraries for the location of the Membership Provider.
The sample ASP.NET application included with the libraries and samples shows how to create users, change passwords, recover passwords, and validate users.
The SDK installation executable copies the following libraries to version-specific directories under the PSQL\bin directory. (See also Where are the Pervasive PSQL files installed? in Getting Started with Pervasive PSQL.)
The following table summarizes the samples provided with the Membership Provider. By default, the SDK installation executable copies the sample files to version-specific directories under the All Users\Application Data\Pervasive Software\PSQL directory. Note that the application data location varies depending on the bit-architecture of the operating system. See Where are the Pervasive PSQL files installed? in Getting Started with Pervasive PSQL.
Login Controls within ASP.NET will now use the Pervasive Membership Provider.
CREATE TABLE Users ( PKID UniqueIdentifier NOT NULL PRIMARY KEY, Username Char (255) NOT NULL, ApplicationName char (255) NOT NULL, Email Char (128) NOT NULL, Comment Char (255), "Password" Char (128) NOT NULL, PasswordQuestion Char (255), PasswordAnswer Char (255), IsApproved SmallInt, LastActivityDate DateTime, LastLoginDate DateTime, LastPasswordChangedDate DateTime, CreationDate DateTime, IsOnLine SmallInt, IsLockedOut SmallInt, LastLockedOutDate DateTime, FailedPasswordAttemptCount Integer, FailedPasswordAttemptWindowStart DateTime, FailedPasswordAnswerAttemptCount Integer, FailedPasswordAnswerAttemptWindowStart DateTime )
<connectionStrings> <add name="PsqlServices" connectionString="ServerDSN=ASPNETPSQL;" /> </ connectionStrings> <system.web> <membership defaultProvider="PsqlMembershipProvider" userIsOnlineTimeWindow="120"></membership> </system.web><providers> <clear /> <add name="PsqlMembershipProvider" type="PSQL.Membership.PsqlMembershipProvider" connectionStringName="PsqlServices" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" writeExceptionsToEventLog="true" debug="false" passwordFormat="Clear"/> </providers>
To help with the development of your .NET applications, see Pervasive PSQL Data Provider for .NET Guide and Pervasive PSQL Programmers Guide in the Pervasive PSQL SDK documentation.
All known issues for Pervasive PSQL v11 SP1 are published on the Pervasive web site. See http://www.pervasivedb.com for the latest Known Issues.
You may obtain technical support from the following Web-based support options:
PERVASIVE SOFTWARE INC. LICENSES THE SOFTWARE AND DOCUMENTATION PRODUCT TO YOU OR YOUR COMPANY SOLELY ON AN "AS IS" BASIS AND SOLELY IN ACCORDANCE WITH THE TERMS AND CONDITIONS OF THE ACCOMPANYING LICENSE AGREEMENT.
Copyright ©2011 Pervasive Software Inc. All Rights Reserved.
|
Pervasive Software Inc. http://www.pervasivedb.com 12365 Riata Trace Pkwy, Bldg B Austin, TX 78727 USA Voice: (512) 231-6000 Fax: (512) 231-6010 |
*** End of Release Notes ***