Interface IRepository<T>
Assembly: TcOpen.Inxton.Abstractions.dll
Syntax
public interface IRepository<T>
where T : IBrowsableDataObject
Type Parameters
Properties
|
Improve this Doc
View Source
Count
Declaration
Property Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
OnCreate
Declaration
OnCreateDelegate<T> OnCreate { get; set; }
Property Value
|
Improve this Doc
View Source
OnCreateDone
Declaration
OnCreateDoneDelegate<T> OnCreateDone { get; set; }
Property Value
|
Improve this Doc
View Source
OnCreateFailed
Declaration
OnCreateFailedDelegate<T> OnCreateFailed { get; set; }
Property Value
|
Improve this Doc
View Source
OnDelete
Declaration
OnDeleteDelegate OnDelete { get; set; }
Property Value
|
Improve this Doc
View Source
OnDeleteDone
Declaration
OnDeleteDoneDelegate OnDeleteDone { get; set; }
Property Value
|
Improve this Doc
View Source
OnDeleteFailed
Declaration
OnDeleteFailedDelegate OnDeleteFailed { get; set; }
Property Value
|
Improve this Doc
View Source
OnRead
Declaration
OnReadDelegate OnRead { get; set; }
Property Value
|
Improve this Doc
View Source
OnReadDone
Declaration
OnReadDoneDelegate<T> OnReadDone { get; set; }
Property Value
|
Improve this Doc
View Source
OnReadFailed
Declaration
OnReadFailedDelegate OnReadFailed { get; set; }
Property Value
|
Improve this Doc
View Source
OnRecordUpdateValidation
Declaration
ValidateDataDelegate<T> OnRecordUpdateValidation { get; set; }
Property Value
|
Improve this Doc
View Source
OnUpdate
Declaration
OnUpdateDelegate<T> OnUpdate { get; set; }
Property Value
|
Improve this Doc
View Source
OnUpdateDone
Declaration
OnUpdateDoneDelegate<T> OnUpdateDone { get; set; }
Property Value
|
Improve this Doc
View Source
OnUpdateFailed
Declaration
OnUpdateFailedDelegate<T> OnUpdateFailed { get; set; }
Property Value
|
Improve this Doc
View Source
Queryable
Declaration
IQueryable<T> Queryable { get; }
Property Value
Type |
Description |
System.Linq.IQueryable<T> |
|
Methods
|
Improve this Doc
View Source
Create(String, T)
Declaration
void Create(string identifier, T data)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
T |
data |
|
|
Improve this Doc
View Source
Delete(String)
Declaration
void Delete(string identifier)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
|
Improve this Doc
View Source
Exists(String)
Declaration
bool Exists(string identifier)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FilteredCount(String, eSearchMode)
Declaration
long FilteredCount(string id, eSearchMode searchMode = eSearchMode.Exact)
Parameters
Type |
Name |
Description |
System.String |
id |
|
eSearchMode |
searchMode |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
GetRecords(String, Int32, Int32, eSearchMode)
Declaration
IEnumerable<T> GetRecords(string identifier = "*", int limit = 100, int skip = 0, eSearchMode searchMode = eSearchMode.Exact)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
System.Int32 |
limit |
|
System.Int32 |
skip |
|
eSearchMode |
searchMode |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
|
Improve this Doc
View Source
Read(String)
Declaration
T Read(string identifier)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
Returns
|
Improve this Doc
View Source
Update(String, T)
Declaration
void Update(string identifier, T data)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
T |
data |
|