| 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
| 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 | |
All getter interceptor actions are called when using this method. This method is called from auto-generated properties in the domain model.
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