C# Class ThermostatMonitorLib.User

Show file Open project: AndroidThermostat/ThermostatMonitor-Net Class Usage Examples

Public Methods

Method Description
DeleteUser ( int userId ) : void
GetPropertyValue ( string propertyName ) : object
LoadByAuthCode ( string cookie ) : User
LoadUser ( int userId ) : User
LoadUser ( string email ) : User
LoadUser ( string email, string password ) : User
SaveUser ( User user ) : int
User ( ) : System

Private Methods

Method Description
GetUser ( DataRow row ) : User

Method Details

DeleteUser() public static method

public static DeleteUser ( int userId ) : void
userId int
return void

GetPropertyValue() public method

public GetPropertyValue ( string propertyName ) : object
propertyName string
return object

LoadByAuthCode() public static method

public static LoadByAuthCode ( string cookie ) : User
cookie string
return User

LoadUser() public static method

public static LoadUser ( int userId ) : User
userId int
return User

LoadUser() public static method

public static LoadUser ( string email ) : User
email string
return User

LoadUser() public static method

public static LoadUser ( string email, string password ) : User
email string
password string
return User

SaveUser() public static method

public static SaveUser ( User user ) : int
user User
return int

User() public method

public User ( ) : System
return System