Interface IRepository
Namespace: TcOpen.Inxton.Data
Assembly: TcOpen.Inxton.Abstractions.dll
Syntax
public interface IRepository
Properties
| Improve this Doc View SourceCount
Declaration
long Count { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
| Improve this Doc View SourceCreate(String, Object)
Declaration
void Create(string identifier, object data)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | |
System.Object | data |
Delete(String)
Declaration
void Delete(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
Exists(String)
Declaration
bool Exists(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
Returns
Type | Description |
---|---|
System.Boolean |
FilteredCount(String)
Declaration
long FilteredCount(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Returns
Type | Description |
---|---|
System.Int64 |
Read(String)
Declaration
dynamic Read(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
Returns
Type | Description |
---|---|
System.Object |
Update(String, Object)
Declaration
void Update(string identifier, object data)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | |
System.Object | data |