Field

Models a field definition..

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

Constructors

Field

Default constructor

Signature:
public Void Field()

Events

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

Properties

AutomaticType

Automatic type.

Signature:
public AutomaticType AutomaticType { get; set; }

DataType

Field data type.

Signature:
public DataType DataType { get; set; }

FieldKey

Field key, name of the dictionary key.

Signature:
public String FieldKey { get; set; }

FieldName

Name of the database field or column.

Signature:
public String FieldName { get; set; }

IsPartitionKey

Whether this Field is the multi-tenant partition key.

Signature:
public Boolean IsPartitionKey { get; set; }

PrimaryKey

Position of the field within the primary key.

Signature:
public String PrimaryKey { get; set; }

Methods

Equals

Checks whether other is equals to this instance.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equal.

Parameters
Name Type Summary
other Field Object to compare.

Equals

Checks whether obj is equals to this object.

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

Returns a textual representation of a Field.

Signature:
public String ToString()