CrudT Class |
Namespace: SandcastleTest.Generic.DAL.FileSystemStorage
public abstract class Crud<T> : ICreateReadUpdateDelete<T> where T : PocoBase
The CrudT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Content |
Get all contents of the file, containing all the contents of the entity.
|
![]() | FileName |
Gets the file name of the current entity.
The filename is constructed with the poco class name and the extension .json
|
Name | Description | |
---|---|---|
![]() | Create |
Create a new entity |
![]() | Delete |
Deletes an entity of T |
![]() | Equals | (Inherited from Object.) |
![]() | Exists |
Checks, if allEntities contains a entityToCheck |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEntity |
Get an entity by Id |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetList |
Get a list of T |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Store(ListT) |
Stores a ListT to the file system
|
![]() | Store(String) |
Saves a raw string representation to file system.
|
![]() | ToString | (Inherited from Object.) |
![]() | Update |
Update an entity of T |