C# Class App.Data.DatabaseContextExtensions

Afficher le fichier Open project: kriasoft/site-sdk

Méthodes publiques

Méthode Description
Add ( this users, string userName, string email, string password, string displayName ) : User
CheckUniqueness ( this users, string userName, string email, bool &isUserNameUnique, bool &isEmailUnique ) : void
GetByUserNameOrEmail ( this users, string userNameOrEmail, string password ) : User

Method Details

Add() public static méthode

public static Add ( this users, string userName, string email, string password, string displayName ) : User
users this
userName string
email string
password string
displayName string
Résultat User

CheckUniqueness() public static méthode

public static CheckUniqueness ( this users, string userName, string email, bool &isUserNameUnique, bool &isEmailUnique ) : void
users this
userName string
email string
isUserNameUnique bool
isEmailUnique bool
Résultat void

GetByUserNameOrEmail() public static méthode

public static GetByUserNameOrEmail ( this users, string userNameOrEmail, string password ) : User
users this
userNameOrEmail string
password string
Résultat User