Entity

Models an application entity.

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

Constructors

Entity

Default constructor

Signature:
public Void Entity()

Events

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

Properties

Access

Access modifier for this type.

Signature:
public AccessModifier Access { get; set; }

Caption

Caption of the entity.

Signature:
public String Caption { get; set; }

DataService

Data service type name.

Signature:
public String DataService { get; set; }

DesignerTemplate

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

Signature:
public String DesignerTemplate { get; set; }

EnforceModelValidation

Whether the validation must be enforce.

Signature:
public Boolean EnforceModelValidation { get; set; }

ExtendedProperties

A collection arbitrary name/value properties.

Signature:
public ExtendedPropertyCollection ExtendedProperties { get; set; }

Name

Name of the entity (class name).

Signature:
public String Name { get; set; }

Namespace

Namespace where the entity lives.

Signature:
public String Namespace { get; set; }

NavigationalProperties

A collection of navigational properties.

Signature:
public NavigationalPropertyCollection NavigationalProperties { get; set; }

Properties

A collection of the entity data properties.

Signature:
public EntityPropertyCollection Properties { get; set; }

Release

Entity release number.

Signature:
public String Release { get; set; }

Remarks

Remarks text.

Signature:
public String Remarks { get; set; }

ResourceFileName

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

Signature:
public String ResourceFileName { get; set; }

SkipExtensionTemplateGeneration

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

Signature:
public Boolean SkipExtensionTemplateGeneration { get; set; }

Summary

Summary text or documentation.

Signature:
public String Summary { get; set; }

Templates

A collection Templates to transform this model.

Signature:
public TemplateCollection Templates { get; set; }

Methods

Equals

Checks whether other is equal to this object.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equal.

Parameters
Name Type Summary
other Entity Object to compare.

Equals

Checks whether obj is equal to this instance.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equal.

Parameters
Name Type Summary
obj Object Object to compare.

GetHashCode

Implemented for avoiding warnings.

Signature:
public Int32 GetHashCode()

ToString

Return a text representation of the Entity.

Signature:
public String ToString()