Intersoft WebGrid Documentation
WebGridObjectRelation Class
Members  See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace : WebGridObjectRelation Class






WebGridObjectRelation class, contains information about objects relationship information.

Object Model

WebGridObjectRelation Class

Syntax

Visual Basic (Declaration) 
Public Class WebGridObjectRelation 
Visual Basic (Usage)Copy Code
Dim instance As WebGridObjectRelation
C# 
public class WebGridObjectRelation 
Delphi 
public class WebGridObjectRelation 
JScript 
public class WebGridObjectRelation 
Managed Extensions for C++ 
public __gc class WebGridObjectRelation 
C++/CLI 
public ref class WebGridObjectRelation 

Remarks

WebGridObjectRelation class is used to provide the necessary information, such as:

  • The ParentCollection Type, such as CustomerCollection
  • The ParentMember property, such as CustomerID. In business object, the parent member is a public property having the same name as the property name.
  • The ChildCollection property, such as Orders. The child collection is a public property defined in the parent class which is used to get the collection of child objects.
  • The ChildCollection Type, such as OrderCollection
  • The ChildMember property, such as CustomerID. The child member is a public property defined in the child class (which is Order class in this context).

 

All the 5 information above are essential and required in order to establish a relationship between one entity and another, which has following objectives:

  • Automatic data binding. That is, all you need to do is providing the Collection as the DataSource. WebGrid will handle the rest.
  • All data-aware features are supported. Business objects are essential and should be treated with priority.
    You will be able to perform all data-aware features automatically, without any additional implementation in your business object.
    The data-aware features are such as sorting, grouping, filtering, editing, unlimited nested hierarchies, etc.
  • Consistency with existing feature-sets. That is, you can enable other features without complication and coding the same way as if you're using DataSet.

Inheritance Hierarchy

System.Object
   ISNet.WebUI.WebGrid.WebGridObjectRelation

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

©2012 Intersoft Solutions Corp. All Rights Reserved.