Table of Contents

Class MetaDataProperty

Namespace
Breeze.Persistence
Assembly
Breeze.Persistence.dll

Data Property

public class MetaDataProperty : MetaProperty
Inheritance
MetaDataProperty
Inherited Members

Fields

IsIdentityColumn

Whether property is an auto-generated key

[NonSerialized]
public bool IsIdentityColumn

Field Value

bool

Properties

ComplexTypeName

If a complex object, the Name:#NameSpace of the complex type

public string? ComplexTypeName { get; set; }

Property Value

string

ConcurrencyMode

"Fixed" if this property is used as a concurrency token

public string? ConcurrencyMode { get; set; }

Property Value

string

DataType

Type of the property: String, Int32, etc. Null for a complex-type property.

public string? DataType { get; set; }

Property Value

string

DefaultValue

Default value, if defined

public object? DefaultValue { get; set; }

Property Value

object

EnumType

If an enum, the Name:#NameSpace of the enum type

public string? EnumType { get; set; }

Property Value

string

IsNullable

Whether property is nullable

public bool? IsNullable { get; set; }

Property Value

bool?

IsPartOfKey

Whether property is a part of the entity key

public bool? IsPartOfKey { get; set; }

Property Value

bool?

MaxLength

If a string, max length allowed

public int? MaxLength { get; set; }

Property Value

int?

RawTypeName

Used with 'Undefined' DataType

public string? RawTypeName { get; set; }

Property Value

string

Methods

AddValidators(Type)

Add validator names to the property; these match validators on the client

public void AddValidators(Type clrType)

Parameters

clrType Type