Click or drag to resize

CustomerAccess Class

Provides methods to access a Customer
Inheritance Hierarchy
SystemObject
  SandcastleTest.Generic.DAL.FileSystemStorageCrudCustomer
    SandcastleTest.Generic.DAL.FileSystemStorageCustomerAccess

Namespace:  SandcastleTest.Generic.DAL.FileSystemStorage
Assembly:  SandcastleTest (in SandcastleTest.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class CustomerAccess : Crud<Customer>

The CustomerAccess type exposes the following members.

Constructors
  NameDescription
Public methodCustomerAccess
Initializes a new instance of the CustomerAccess class
Top
Properties
  NameDescription
Private propertyContent
Get all contents of the file, containing all the contents of the entity.
(Inherited from CrudT.)
Private propertyFileName
Gets the file name of the current entity. The filename is constructed with the poco class name and the extension .json
(Inherited from CrudT.)
Top
Methods
  NameDescription
Public methodCreate
Create a new entity
(Inherited from CrudT.)
Public methodDelete
Deletes an entity of T
(Inherited from CrudT.)
Public methodEquals (Inherited from Object.)
Private methodExists
Checks, if allEntities contains a entityToCheck
(Inherited from CrudT.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEntity
Get an entity by Id
(Inherited from CrudT.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetList
Get a list of T
(Inherited from CrudT.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Private methodStore(ListT) (Inherited from CrudT.)
Private methodStore(String)
Saves a raw string representation to file system.
(Inherited from CrudT.)
Public methodToString (Inherited from Object.)
Public methodUpdate
Update an entity of T
(Inherited from CrudT.)
Top
See Also