C# Class PetStore.Model.User

Inheritance: Castle.ActiveRecord.ActiveRecordBase, IPrincipal
Exibir arquivo Open project: nats/castle-1.0.3-mono

Private Properties

Property Type Description

Public Methods

Method Description
Find ( int id ) : User
FindByLogin ( String login ) : User
IsInRole ( string role ) : bool

Method Details

Find() public static method

public static Find ( int id ) : User
id int
return User

FindByLogin() public static method

public static FindByLogin ( String login ) : User
login String
return User

IsInRole() public method

public IsInRole ( string role ) : bool
role string
return bool