C# 클래스 Adf.Data.SmartReferences.SmartReferenceGateway

Represents the gateway for database transection of table SmartReference. Provides methods to save, select, remove, update and search data from SmartReference table.
상속: TableGateway
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
Count ( ) : int

Get the record count from SmartReference table.

Get ( ID id, string type ) : IInternalState

Get data from SmartReference table by the matching columns of specified Id and Type.

GetByName ( string name, string type ) : IInternalState

Get data from SmartReference table by the matching columns of specified Name and Type.

GetByType ( string type ) : IEnumerable

Get all data from SmartReference table by the matching column of specified Type and return the array of IInternalState as result.

New ( string type ) : IInternalState

Create a new data row of IInternalState to insert new data into database.

Remove ( IInternalState state ) : bool

Delete the record from SmartReference table.

Save ( IInternalState state ) : bool

Save the data into SmartReference table.

Search ( IEnumerable parameters ) : IEnumerable

Search the records from SmartReference table depending upon the list of parameters.

메소드 상세

Count() 공개 정적인 메소드

Get the record count from SmartReference table.
The current state of the connection is closed.
public static Count ( ) : int
리턴 int

Get() 공개 정적인 메소드

Get data from SmartReference table by the matching columns of specified Id and Type.
The current state of the connection is closed.
public static Get ( ID id, string type ) : IInternalState
id Adf.Core.Identity.ID Match for the Id within SmartReference table.
type string Match for the Type within SmartReference table.
리턴 IInternalState

GetByName() 공개 정적인 메소드

Get data from SmartReference table by the matching columns of specified Name and Type.
The current state of the connection is closed.
public static GetByName ( string name, string type ) : IInternalState
name string Match for the Name within SmartReference table.
type string Match for the Type within SmartReference table.
리턴 IInternalState

GetByType() 공개 정적인 메소드

Get all data from SmartReference table by the matching column of specified Type and return the array of IInternalState as result.
The current state of the connection is closed.
public static GetByType ( string type ) : IEnumerable
type string Match for the Type within SmartReference table.
리턴 IEnumerable

New() 공개 정적인 메소드

Create a new data row of IInternalState to insert new data into database.
The current state of the connection is closed.
public static New ( string type ) : IInternalState
type string Set the specified Type column of SmartReference table.
리턴 IInternalState

Remove() 공개 정적인 메소드

Delete the record from SmartReference table.
The current state of the connection is closed.
public static Remove ( IInternalState state ) : bool
state IInternalState The data of that needs to be removed.
리턴 bool

Save() 공개 정적인 메소드

Save the data into SmartReference table.
The current state of the connection is closed.
public static Save ( IInternalState state ) : bool
state IInternalState The data of that needs to be saved.
리턴 bool

Search() 공개 정적인 메소드

Search the records from SmartReference table depending upon the list of parameters.
The current state of the connection is closed.
public static Search ( IEnumerable parameters ) : IEnumerable
parameters IEnumerable
리턴 IEnumerable