Method | Description | |
---|---|---|
Count ( ) : int |
Get the record count from SmartReference table.
|
|
Get ( |
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 |
Search the records from SmartReference table depending upon the list of parameters.
|
public static Get ( |
||
id | Match for the Id within SmartReference table. | |
type | string | Match for the Type within SmartReference table. |
return | IInternalState |
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. |
return | IInternalState |
public static GetByType ( string type ) : IEnumerable |
||
type | string | Match for the Type within SmartReference table. |
return | IEnumerable |
public static New ( string type ) : IInternalState | ||
type | string | Set the specified Type column of SmartReference table. |
return | IInternalState |
public static Remove ( IInternalState state ) : bool | ||
state | IInternalState | The data of |
return | bool |
public static Save ( IInternalState state ) : bool | ||
state | IInternalState | The data of |
return | bool |
public static Search ( IEnumerable |
||
parameters | IEnumerable |
|
return | IEnumerable |