C# 클래스 AuthorizeAttributeSample.Models.CarsContext

파일 보기 프로젝트 열기: tugberkugurlu/ProWebAPI.Samples

공개 메소드들

메소드 설명
Add ( Car car ) : Car
Get ( bool>.Func predicate ) : IEnumerable
GetSingle ( bool>.Func predicate ) : Car
GetSingle ( int id ) : Car>.Tuple
TryRemove ( int id ) : bool
TryUpdate ( Car car ) : bool

메소드 상세

Add() 공개 메소드

public Add ( Car car ) : Car
car Car
리턴 Car

Get() 공개 메소드

public Get ( bool>.Func predicate ) : IEnumerable
predicate bool>.Func
리턴 IEnumerable

GetSingle() 공개 메소드

public GetSingle ( bool>.Func predicate ) : Car
predicate bool>.Func
리턴 Car

GetSingle() 공개 메소드

public GetSingle ( int id ) : Car>.Tuple
id int
리턴 Car>.Tuple

TryRemove() 공개 메소드

public TryRemove ( int id ) : bool
id int
리턴 bool

TryUpdate() 공개 메소드

public TryUpdate ( Car car ) : bool
car Car
리턴 bool