C# Class App.Data.DatabaseContextExtensions

Datei anzeigen Open project: kriasoft/site-sdk

Public Methods

Method 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 method

public static Add ( this users, string userName, string email, string password, string displayName ) : User
users this
userName string
email string
password string
displayName string
return User

CheckUniqueness() public static method

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

GetByUserNameOrEmail() public static method

public static GetByUserNameOrEmail ( this users, string userNameOrEmail, string password ) : User
users this
userNameOrEmail string
password string
return User