C# 클래스 PetShop.Services.CustomCode.PetShopProfileProvider

상속: System.Web.Profile.ProfileProvider
파일 보기 프로젝트 열기: netTiers/netTiers

공개 메소드들

메소드 설명
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int

When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date.

DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int

When overridden in a derived class, deletes profile properties and information for the supplied list of profiles.

DeleteProfiles ( string usernames ) : int

When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names.

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

When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name.

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

When overridden in a derived class, retrieves profile information for profiles in which the user name matches the specified user names.

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

When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date.

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

When overridden in a derived class, retrieves user profile data for all profiles in the data source.

GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int

When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date.

GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection

Returns the collection of settings property values for the specified application instance and settings property group.

SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void

Sets the values of the specified group of property settings.

비공개 메소드들

메소드 설명
DeleteProfile ( string username ) : bool

Deletes profile data from the database for the specified user name.

UpdateAccount ( Account &account, Address address ) : void

Updartes an account from an address class.

메소드 상세

DeleteInactiveProfiles() 공개 메소드

When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date.
public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are deleted. ///
userInactiveSinceDate System.DateTime A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. ///
리턴 int

DeleteProfiles() 공개 메소드

When overridden in a derived class, deletes profile properties and information for the supplied list of profiles.
public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection A of information about profiles that are to be deleted. ///
리턴 int

DeleteProfiles() 공개 메소드

When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names.
public DeleteProfiles ( string usernames ) : int
usernames string A string array of user names for profiles to be deleted. ///
리턴 int

FindInactiveProfilesByUserName() 공개 메소드

When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name.
public FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. ///
usernameToMatch string The user name to search for. ///
userInactiveSinceDate System.DateTime A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. ///
pageIndex int The index of the page of results to return. ///
pageSize int The size of the page of results to return. ///
totalRecords int When this method returns, contains the total number of profiles. ///
리턴 System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() 공개 메소드

When overridden in a derived class, retrieves profile information for profiles in which the user name matches the specified user names.
public FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. ///
usernameToMatch string The user name to search for. ///
pageIndex int The index of the page of results to return. ///
pageSize int The size of the page of results to return. ///
totalRecords int When this method returns, contains the total number of profiles. ///
리턴 System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() 공개 메소드

When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date.
public GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. ///
userInactiveSinceDate System.DateTime A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. ///
pageIndex int The index of the page of results to return. ///
pageSize int The size of the page of results to return. ///
totalRecords int When this method returns, contains the total number of profiles. ///
리턴 System.Web.Profile.ProfileInfoCollection

GetAllProfiles() 공개 메소드

When overridden in a derived class, retrieves user profile data for all profiles in the data source.
public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. ///
pageIndex int The index of the page of results to return. ///
pageSize int The size of the page of results to return. ///
totalRecords int When this method returns, contains the total number of profiles. ///
리턴 System.Web.Profile.ProfileInfoCollection

GetNumberOfInactiveProfiles() 공개 메소드

When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date.
public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. ///
userInactiveSinceDate System.DateTime A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. ///
리턴 int

GetPropertyValues() 공개 메소드

Returns the collection of settings property values for the specified application instance and settings property group.
public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext A describing the current application use. ///
collection System.Configuration.SettingsPropertyCollection A containing the settings property group whose values are to be retrieved. ///
리턴 System.Configuration.SettingsPropertyValueCollection

SetPropertyValues() 공개 메소드

Sets the values of the specified group of property settings.
public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext A describing the current application usage. ///
collection System.Configuration.SettingsPropertyValueCollection A representing the group of property settings to set. ///
리턴 void