C# Класс BetterMembership.Web.BetterProfileProvider

Наследование: System.Web.Profile.ProfileProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BetterProfileProvider ( ) : System
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
DeleteProfiles ( string usernames ) : int
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 context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
Initialize ( string name, NameValueCollection config ) : void
SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void

Приватные методы

Метод Описание
AppendWildcardToSearchTerm ( string emailToMatch ) : string
BetterProfileProvider ( IDatabase>.Func databaseFactory, Func sqlQueryBuilderFactory, System.Web.Security.MembershipProviderCollection membershipProviders ) : System
ConnectToDatabase ( ) : IDatabase
CreateProfileInfo ( dynamic row ) : System.Web.Profile.ProfileInfo
DeleteMembership ( IDatabase db, IEnumerable userNames ) : void
DeleteMembership ( IDatabase db, System.Web.Profile.ProfileInfoCollection profiles ) : void
DeleteOAuthMembership ( IDatabase db, IEnumerable userNames ) : void
DeleteOAuthMembership ( IDatabase db, System.Web.Profile.ProfileInfoCollection profiles ) : void
DeleteUserInRoles ( IDatabase db, IEnumerable userNames ) : void
DeleteUserInRoles ( IDatabase db, System.Web.Profile.ProfileInfoCollection profiles ) : void
DoesNotContainDefaultColumns ( SettingsPropertyCollection collection ) : bool
EnsureSupportedColumns ( ) : void
ExtractProfileInfoFromRows ( List rows, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetPagingStartRow ( int pageIndex, int pageSize ) : int
GetTotalRecords ( IList rows ) : int

Описание методов

BetterProfileProvider() публичный Метод

public BetterProfileProvider ( ) : System
Результат System

DeleteInactiveProfiles() публичный Метод

public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Результат int

DeleteProfiles() публичный Метод

public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection
Результат int

DeleteProfiles() публичный Метод

public DeleteProfiles ( string usernames ) : int
usernames string
Результат int

FindInactiveProfilesByUserName() публичный Метод

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
Результат System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() публичный Метод

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
Результат System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() публичный Метод

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
Результат System.Web.Profile.ProfileInfoCollection

GetAllProfiles() публичный Метод

public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
pageIndex int
pageSize int
totalRecords int
Результат System.Web.Profile.ProfileInfoCollection

GetNumberOfInactiveProfiles() публичный Метод

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Результат int

GetPropertyValues() публичный Метод

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyCollection
Результат System.Configuration.SettingsPropertyValueCollection

Initialize() публичный Метод

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Результат void

SetPropertyValues() публичный Метод

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyValueCollection
Результат void