TInstance
Type of entity
TValue
Type of property
IdeaBlade DevForce 2010 Help Reference
DataEntityProperty<TInstance,TValue> Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : DataEntityProperty<TInstance,TValue> Class



Strongly-typed DataEntityProperty.

Object Model

DataEntityProperty<TInstance,TValue> ClassEntityMemberMetadata Class

Syntax

Visual Basic (Declaration) 
Public Class DataEntityProperty
    (Of TInstance As Class,
     TValue) 
   Inherits DataEntityProperty
Visual Basic (Usage)Copy Code
Dim instance As DataEntityProperty(Of TInstance,TValue)
C# 
public class DataEntityProperty<TInstance,TValue> : DataEntityProperty 
where TInstance: class
C++/CLI 
generic<typename TInstance>
generic<typename TValue>
public ref class DataEntityProperty : public DataEntityProperty 
where TInstance: ref class

Type Parameters

TInstance
Type of entity
TValue
Type of property

Remarks

The EntityProperties auto-generated by the Object Mapper use this strongly-typed declaration for all simple properties in your entities.

Every DataEntityProperty has both a GetterInterceptor and SetterInterceptor to which you can inject custom actions. You add these actions using attributes and the AddAction method.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.EntityProperty
      IdeaBlade.EntityModel.DataEntityProperty
         IdeaBlade.EntityModel.DataEntityProperty<TInstance,TValue>

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.