Table of Contents

Interface IDocumentClassFactory

Namespace
Tlabs.Data
Assembly
Tlabs.Data.dll

Factory to generate dynamic classes from a document schema

public interface IDocumentClassFactory
Extension Methods

Methods

CreateBodyType(DocumentSchema)

Create the body type class for documentSchema.

Type CreateBodyType(DocumentSchema documentSchema)

Parameters

documentSchema DocumentSchema

Document Schema

Returns

Type

Remarks

Replaces any already cached type class.

GetBodyType(string)

Gets the body type for a document schema with sid using a cached version or compiling a new class.

Type GetBodyType(string sid)

Parameters

sid string

Returns

Type