IdeaBlade DevForce 2010 Help Reference
GetValue(TInstance) Method
See Also  Example Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > NavigationListEntityProperty<TInstance,TValue> Class > GetValue Method : GetValue(TInstance) Method



instance
Retrieves the value of this property in the specified object. Gets the Employees.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetValue( _
   ByVal instance As TInstance _
) As RelatedEntityList(Of TValue)
Visual Basic (Usage)Copy Code
Dim instance As NavigationListEntityProperty(Of TInstance,TValue)
Dim instance As TInstance
Dim value As RelatedEntityList(Of TValue)
 
value = instance.GetValue(instance)
C# 
public RelatedEntityList<TValue> GetValue( 
   TInstance instance
)
C++/CLI 
public:
RelatedEntityList<TValue^>^ GetValue( 
   TInstance^ instance
) 

Parameters

instance

Example

C#Copy Code
// Sample auto-generated property

#region Employees property

/// Gets the Employees. 
[Bindable(false)]
[Display(AutoGenerateField=false)]
[DataMember]
[IbEm.RelationProperty("FK_Employees_Employees", IbEm.QueryDirection.ToRole1)]
public IbEm.RelatedEntityList<Employee> Employees {
  get { return PropertyMetadata.Employees.GetValue(this); }
}
#endregion Employees property

Remarks

All getter interceptor actions are called when using this method. This method is called from auto-generated properties in the domain model.

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.