C# Class PetStore.Model.User

Inheritance: Castle.ActiveRecord.ActiveRecordBase, IPrincipal
Afficher le fichier Open project: nats/castle-1.0.3-mono

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Find ( int id ) : User
FindByLogin ( String login ) : User
IsInRole ( string role ) : bool

Method Details

Find() public static méthode

public static Find ( int id ) : User
id int
Résultat User

FindByLogin() public static méthode

public static FindByLogin ( String login ) : User
login String
Résultat User

IsInRole() public méthode

public IsInRole ( string role ) : bool
role string
Résultat bool