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
Properties
ComplexTypeName
If a complex object, the Name:#NameSpace of the complex type
public string? ComplexTypeName { get; set; }
Property Value
ConcurrencyMode
"Fixed" if this property is used as a concurrency token
public string? ConcurrencyMode { get; set; }
Property Value
DataType
Type of the property: String, Int32, etc. Null for a complex-type property.
public string? DataType { get; set; }
Property Value
DefaultValue
Default value, if defined
public object? DefaultValue { get; set; }
Property Value
EnumType
If an enum, the Name:#NameSpace of the enum type
public string? EnumType { get; set; }
Property Value
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
Methods
AddValidators(Type)
Add validator names to the property; these match validators on the client
public void AddValidators(Type clrType)
Parameters
clrTypeType