EntityProperty

Models a domain object property.

Namespace:
KpokEntityTool.Models
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
System.IEquatable{KpokEntityTool.Models.EntityProperty}, System.ComponentModel.INotifyPropertyChanged

Constructors

EntityProperty

Default constructor

Signature:
public Void EntityProperty()

Events

Type Name Summary
PropertyChangedEventHandler PropertyChanged Notify that a property was changed.

Properties

Access

Access modifier for this property.

Signature:
public AccessModifier Access { get; set; }

AutomaticType

Automatic type.

Signature:
public AutomaticType AutomaticType { get; set; }

Caption

Caption of the property.

Signature:
public String Caption { get; set; }

CastDataType

Type to cast the the data type.

Signature:
public String CastDataType { get; set; }

ColumnName

Name of the database column that maps to this property.

Signature:
public String ColumnName { get; set; }

DataType

The data type of the property.

Signature:
public DataType DataType { get; set; }

DefaultValue

Property default value.

Signature:
public String DefaultValue { get; set; }

FieldName

Name of the class backing private field.

Signature:
public String FieldName { get; set; }

Hint

Hint message to show to the user.

Signature:
public String Hint { get; set; }

InvalidChars

Invalid characters for a character property.

Signature:
public String InvalidChars { get; set; }

InvalidContentMessage

A message to be shown when context of thr property is invalid.

Signature:
public String InvalidContentMessage { get; set; }

IsMail

Whether the property will contains e-mail data.

Signature:
public Boolean IsMail { get; set; }

IsPartitionKey

Whether the property is the partition key for multi-tenanat environments.

Signature:
public Boolean IsPartitionKey { get; set; }

IsPrimaryKeyText

Whether a text property contains primary key text.

Signature:
public Boolean IsPrimaryKeyText { get; set; }

Mandatory

Whether this property is mandatory.

Signature:
public Boolean Mandatory { get; set; }

MandatoryMessage

Error message to show for not specified mandatory properties.

Signature:
public String MandatoryMessage { get; set; }

MaxLength

Maximum length for a text property.

Signature:
public String MaxLength { get; set; }

MaxValue

Maximum value for the property.

Signature:
public String MaxValue { get; set; }

MinLength

Minimum length for a text property.

Signature:
public String MinLength { get; set; }

MinValue

Minimum value for the property.

Signature:
public String MinValue { get; set; }

Name

Property name.

Signature:
public String Name { get; set; }

PositiveOnly

Whether a numeric property allows only positive values.

Signature:
public Boolean PositiveOnly { get; set; }

Precision

Precision for a decimal property.

Signature:
public String Precision { get; set; }

PrimaryKey

The position of the property within the primary key or zero.

Signature:
public String PrimaryKey { get; set; }

Protection

Type of protection of the property.

Signature:
public ProtectionType Protection { get; set; }

Scale

Scale for a decimal property.

Signature:
public String Scale { get; set; }

Summary

Summary text or documentation.

Signature:
public String Summary { get; set; }

Methods

Equals

Checks whether this object is equals to other.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equal.

Parameters
Name Type Summary
other EntityProperty Object to compare.

Equals

Checks whether this object is equals to obj.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equal.

Parameters
Name Type Summary
obj Object Object to compare.

GetHashCode

Not required implemented to avoid warnings.

Signature:
public Int32 GetHashCode()

ToString

Return a text representation of the EntityProperty.

Signature:
public String ToString()