C# 클래스 GestUAB.DataAccess.UserDataAccess

User data access.
파일 보기 프로젝트 열기: GestUAB/GestUAB

공개 메소드들

메소드 설명
Create ( User model ) : User

Create the specified model.

Delete ( User model ) : bool

Delete the specified model.

Delete ( string id ) : bool

Delete the specified id.

Read ( System.Guid id ) : User

Read the specified id.

Read ( string id ) : User

Read the specified id.

ReadAll ( ) : IQueryable

Reads all.

Update ( User oldT, User newT ) : bool

Update the specified oldT and newT.

Update ( string id, User newT ) : bool

Update the specified id and newT.

UserDataAccess ( ) : System

Initializes a new instance of the GestUAB.DataAccess.UserDataAccess class.

Validate ( string username, string password ) : Guid?

메소드 상세

Create() 공개 메소드

Create the specified model.
public Create ( User model ) : User
model GestUAB.Models.User /// The user model. ///
리턴 GestUAB.Models.User

Delete() 공개 메소드

Delete the specified model.
public Delete ( User model ) : bool
model GestUAB.Models.User /// If set to true model. ///
리턴 bool

Delete() 공개 메소드

Delete the specified id.
public Delete ( string id ) : bool
id string /// If set to true identifier. ///
리턴 bool

Read() 공개 메소드

Read the specified id.
public Read ( System.Guid id ) : User
id System.Guid /// Identifier. ///
리턴 GestUAB.Models.User

Read() 공개 메소드

Read the specified id.
public Read ( string id ) : User
id string /// Identifier. ///
리턴 GestUAB.Models.User

ReadAll() 공개 메소드

Reads all.
public ReadAll ( ) : IQueryable
리턴 IQueryable

Update() 공개 메소드

Update the specified oldT and newT.
public Update ( User oldT, User newT ) : bool
oldT GestUAB.Models.User /// If set to true old t. ///
newT GestUAB.Models.User /// If set to true new t. ///
리턴 bool

Update() 공개 메소드

Update the specified id and newT.
public Update ( string id, User newT ) : bool
id string /// If set to true identifier. ///
newT GestUAB.Models.User /// If set to true new t. ///
리턴 bool

UserDataAccess() 공개 메소드

Initializes a new instance of the GestUAB.DataAccess.UserDataAccess class.
public UserDataAccess ( ) : System
리턴 System

Validate() 공개 메소드

public Validate ( string username, string password ) : Guid?
username string
password string
리턴 Guid?