NShape Reference
RepositoryReader Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced >

NShape Reference
RepositoryReader Class

Previous pageReturn to chapter overviewNext page

Base class for a reader used for reading objects with embedded objects from a data store.

Syntax

public abstract class RepositoryReader : IRepositoryReader, IDisposable

Description

Reads objects from a cache.

Public Methods

Name

Description

BeginReadInnerObject

Fetches the next inner object in a set of inner object.

BeginReadInnerObjects

Fetches the next set of inner objects and prepares them for reading.

Dispose

Releases all allocated unmanaged or persistent resources.

EndReadInnerObject

Finishes reading an inner object.

EndReadInnerObjects

Finishes reading the current set of inner objects.

ReadBool

Reads a boolean value.

ReadByte

Reads a byte value.

ReadCapStyle

Reads a cap style.

ReadChar

Reads a character value.

ReadCharacterStyle

Reads a character style.

ReadColorStyle

Reads a color style.

ReadDate

Reads a date and time value.

ReadDesign

Reads a design.

ReadDouble

Reads a double precision floating point number.

ReadFilllStyle

Reads a fill style.

ReadFloat

Reads a single precision floating point number.

ReadImage

Reads an image value.

ReadInt16

Reads a 16 bit integer value.

ReadInt32

Reads a 32 bit integer value.

ReadInt64

Reads a 64 bit integer value.

ReadLineStyle

Reads a line style.

ReadModelObject

Reads a model object.

ReadParagraphStyle

Reads a paragraph style.

ReadShape

Reads a shape.

ReadString

Reads a string value.

ReadTemplate

Reads a template.

Protected Properties and Fields

Name

Description

Cache

The IStoreCache that contains the data to read.

innerObjectsReader

When reading inner objects, this field holds the reader used for reading these inner objects.

Object

When reading inner objects, this property stores the owner entity of the inner objects. Otherwise, this property is null/Nothing.

PropertyIndex

Indicates the current index in the list of property info of the entity type.

PropertyInfos

A read only collection of property info of the entity type to read.

propertyInfos

A list of property info of the entity type to read.

Protected Methods

Name

Description

Constructor

Constructs a new RepositoryReader instance.

Dispose

Implementation of IDisposable.Dispose.

DoBeginObject

Advances to the next object and prepares reading it.

DoEndObject

Finishes reading an object.

DoReadBool

Implementation of reading a boolean value.

DoReadByte

Implementation of reading a byte value.

DoReadCapStyle

Implementation of reading an ICapStyle.

DoReadChar

Implementation of reading a character value.

DoReadCharacterStyle

Implementation of reading an ICharacterStyle.

DoReadColorStyle

Implementation of reading an IColorStyle.

DoReadDate

Implementation of reading a date and time value.

DoReadDesign

Implementation of reading a design.

DoReadDouble

Implementation of reading a double precision floating point number.

DoReadFillStyle

Implementation of reading an IFillStyle.

DoReadFloat

Implementation of reading a single precision floating point number.

DoReadImage

Implementation of reading an image.

DoReadInt16

Implementation of reading a 16 bit integer number.

DoReadInt32

Implementation of reading a 32 bit integer number.

DoReadInt64

Implementation of reading a 64 bit integer number.

DoReadLineStyle

Implementation of reading an ILineStyle.

DoReadModelObject

Implementation of reading a model object.

DoReadParagraphStyle

Implementation of reading an IParagraphStyle.

DoReadShape

Implementation of reading a shape.

DoReadString

Implementation of reading a string value.

DoReadTemplate

Implementation of reading a template.

ReadId

Implementation of reading an id value.

ValidatePropertyIndex

Checks whether the current property index refers to a valid entity field.

Derived Classes

Derived classes are:

DbParameterReader

StringReader

XmlStoreReader

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape