C# Class Mainsoft.Web.Profile.DerbyProfileProvider

This class supports the Framework infrastructure and is not intended to be used directly from your code.

Manages storage of profile information for an ASP.NET application in a Derby database.

Inheritance: System.Web.Profile.ProfileProvider
Afficher le fichier Open project: runefs/Marvin

Méthodes publiques

Méthode Description
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
DeleteProfiles ( string usernames ) : int
DerbyProfileProvider ( ) : System
FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
GetPropertyValues ( SettingsContext sc, SettingsPropertyCollection properties ) : SettingsPropertyValueCollection
Initialize ( string name, NameValueCollection config ) : void
SetPropertyValues ( SettingsContext sc, SettingsPropertyValueCollection properties ) : void

Private Methods

Méthode Description
BuildProfileInfoCollection ( System.Data.Common.DbDataReader reader, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
CheckParam ( string pName, string p, int length ) : void
CreateConnection ( ) : DbConnection
DecodeProfileData ( string allnames, string values, byte buf, SettingsPropertyValueCollection properties ) : void
DeleteProfilesInternal ( string usernames ) : int
EncodeProfileData ( string &allNames, string &allValues, byte &buf, SettingsPropertyValueCollection properties, bool userIsAuthenticated ) : void
GetStringConfigValue ( NameValueCollection config, string name, string def ) : string
ReadProfileInfo ( System.Data.Common.DbDataReader reader ) : System.Web.Profile.ProfileInfo

Method Details

DeleteInactiveProfiles() public méthode

public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Résultat int

DeleteProfiles() public méthode

public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection
Résultat int

DeleteProfiles() public méthode

public DeleteProfiles ( string usernames ) : int
usernames string
Résultat int

DerbyProfileProvider() public méthode

public DerbyProfileProvider ( ) : System
Résultat System

FindInactiveProfilesByUserName() public méthode

public FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() public méthode

public FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() public méthode

public GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetAllProfiles() public méthode

public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetNumberOfInactiveProfiles() public méthode

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Résultat int

GetPropertyValues() public méthode

public GetPropertyValues ( SettingsContext sc, SettingsPropertyCollection properties ) : SettingsPropertyValueCollection
sc System.Configuration.SettingsContext
properties System.Configuration.SettingsPropertyCollection
Résultat System.Configuration.SettingsPropertyValueCollection

Initialize() public méthode

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void

SetPropertyValues() public méthode

public SetPropertyValues ( SettingsContext sc, SettingsPropertyValueCollection properties ) : void
sc System.Configuration.SettingsContext
properties System.Configuration.SettingsPropertyValueCollection
Résultat void