Table of Contents

Class DocumentSchema

Namespace
Tlabs.Data.Entity
Assembly
Tlabs.Data.dll
public class DocumentSchema : EditableEntity
Inheritance
DocumentSchema
Inherited Members
Extension Methods

Constructors

DocumentSchema()

public DocumentSchema()

Fields

ATTR_TYPE

public static readonly IReadOnlyDictionary<string, Type> ATTR_TYPE

Field Value

IReadOnlyDictionary<string, Type>

AltNameCache

public static readonly BasicCache<string, string> AltNameCache

Field Value

BasicCache<string, string>

Cache

public static readonly BasicCache<string, DocumentSchema> Cache

Field Value

BasicCache<string, DocumentSchema>

Properties

BaseType

public string? BaseType { get; }

Property Value

string

CalcModelData

public byte[]? CalcModelData { get; set; }

Property Value

byte[]

CalcModelStream

public Stream? CalcModelStream { get; }

Property Value

Stream

Comment

public string? Comment { get; set; }

Property Value

string

EvalContextType

public string? EvalContextType { get; set; }

Property Value

string

EvalCtxSelfProp

public string? EvalCtxSelfProp { get; set; }

Property Value

string

EvalReferences

public List<DocumentSchema.EvaluationRef>? EvalReferences { get; set; }

Property Value

List<DocumentSchema.EvaluationRef>

Fields

public List<DocumentSchema.Field>? Fields { get; set; }

Property Value

List<DocumentSchema.Field>

FormData

public byte[]? FormData { get; set; }

Property Value

byte[]

FormStyleData

public byte[]? FormStyleData { get; set; }

Property Value

byte[]

HasCalcModel

public bool HasCalcModel { get; }

Property Value

bool

SubType

public string? SubType { get; }

Property Value

string

TypeAltName

public string? TypeAltName { get; set; }

Property Value

string

TypeId

public string TypeId { get; }

Property Value

string

TypeName

public string? TypeName { get; set; }

Property Value

string

TypeVers

public string? TypeVers { get; set; }

Property Value

string

Validations

public List<DocumentSchema.ValidationRule>? Validations { get; set; }

Property Value

List<DocumentSchema.ValidationRule>

Methods

BuildTypeId(string?, string?)

public static string BuildTypeId(string? typeName, string? typeVers)

Parameters

typeName string
typeVers string

Returns

string

ParseTypeId(string, out string, out string)

public static void ParseTypeId(string typeId, out string typeName, out string typeVers)

Parameters

typeId string
typeName string
typeVers string

ParseTypeName(string, out string, out string)

public static void ParseTypeName(string typeName, out string baseType, out string subType)

Parameters

typeName string
baseType string
subType string