Class properties

Entity Framework class has the following properties.

Behavior

Delete – The method that will be used for the delete operation.

Insert – The method that will be used for the insert operation.

Update – The method that will be used for the update operation.

Code generation

Access – The accessibility level of the Table class in the model. May be Public and Internal.

Attributes – Attributes of the object.

Documentation

  • Long Description – Detailed description for the entity.

  • Summary – Brief description for the entity.

Inheritance Modifier – Class inheritance modifier. The Inheritance Modifier property can take the None, Abstract, or Sealed value.

  • None – The default value. No inheritance modification is performed.

  • Abstract – Specifies that the class is abstract.

  • Sealed – Setting Inheritance Modifier to Sealed forbids further inheritance. In this case, the class cannot be a base class.

General

BaseType – Base type of the entity.

Entity Set – Entity set the entity belongs to.

Name – Class name.

Properties – Contains the collection of class properties.

Shape Color – The color of objects on the diagram.

WCF Data Services

Has Stream – Specifies that the entity has a related media resource stream supported by the WCF Data Services client library, which enables retrieving and updating binary data through the Open Data Protocol (OData).

See also

  • Object properties

  • Creating and editing classes