Table

Models a table.

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

Constructors

Table

Default constructor

Signature:
public Void Table()

Events

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

Properties

Caption

Table caption.

Signature:
public String Caption { get; set; }

Columns

Table Columns.

Signature:
public ColumnCollection Columns { get; set; }

ConnectionName

Connection name.

Signature:
public String ConnectionName { get; set; }

Description

Table description.

Signature:
public String Description { get; set; }

DesignerTemplate

A full path for the template used to generate designer code.

Signature:
public String DesignerTemplate { get; set; }

ExtendedProperties

A collection arbitrary name/value properties.

Signature:
public ExtendedPropertyCollection ExtendedProperties { get; set; }

FileGroup

The file group or table space where the table is stored.

Signature:
public String FileGroup { get; set; }

ForeignKeys

A collection of ForeignKeys.

Signature:
public ForeignKeyCollection ForeignKeys { get; set; }

Indexes

A collection of table Indexes.

Signature:
public IndexCollection Indexes { get; set; }

IsView

Whether the table represents a view.

Signature:
public Boolean IsView { get; set; }

Kindom

The kindom of the table.

Signature:
public DatabaseObjectKindom Kindom { get; set; }

Name

Table name.

Signature:
public String Name { get; set; }

Order

An order value.

Signature:
public String Order { get; set; }

PrimaryKey

Index that conforms the primary key.

Signature:
public Index PrimaryKey { get; set; }

Release

Table release number.

Signature:
public String Release { get; set; }

ResourceFileName

A full path for the resource file (*.resx) for the neutral culture labels.

Signature:
public String ResourceFileName { get; set; }

Schema

Schema to which the table belongs to.

Signature:
public String Schema { get; set; }

SequenceName

Name of a sequence.

Signature:
public String SequenceName { get; set; }

SkipExtensionTemplateGeneration

true if extension internal template generation mist be skipped, otherwise false.

Signature:
public Boolean SkipExtensionTemplateGeneration { get; set; }

Templates

A collection Templates to transform this model.

Signature:
public TemplateCollection Templates { get; set; }

Methods

Equals

Checks whether other is equals to this object.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equals.

Parameters
Name Type Summary
other Table Object to compare.

Equals

Checks whether obj is equals to this object.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equals.

Parameters
Name Type Summary
obj Object Object to compare.

GetHashCode

Not required, implemented to avoid warning.

Signature:
public Int32 GetHashCode()

ToString

Returns a textual representation of this table.

Signature:
public String ToString()