Datasource Methods

The Datasource type exposes the following members.

  NameDescription
Public method AddDatasource Adds a Datasource object into the data sources dictionary.
Public method AddField Adds a Field object into the fields dictionary.
Public method Static member Create Overloaded.
Public method Static member CreateRootDatasourcesFromXML Creates a collection of data sources from an XML string.
Public method Static member DeriveCardinalityString Transforms the cardinality enumeration value to the corresponding string value.
Public method Static member DeriveTypeString Transforms the type enumeration value to the corresponding string value.
Public method Equals Determines whether the specified Datasource instance is equal to the current Datasource class instance. (Overrides Object.Equals(Object).)
Public method ExistsField
Public method ExistsFields
Protected method Finalize (Inherited from Object.)
Public method GetAllEnumFields Iterates over all the fields and returns a list of fields that are of type enumeration.
Public method GetDatasourceArray Retrieves all the values from a data sources dictionary and returns an array of Datasource objects.
Public method GetFieldArray Retrieves all the values from the fields dictionary and returns an array of Field objects.
Public method GetFieldsInSortedDisplayOrder Iterates over all the fields dictionary and returns a new dictionary of fields, sorted order of their display names.
Public method GetHashCode Retrieves a value that indicates the hash code value for the Datasource instance. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method Static member IsChildRelationship Determines whether a data source is the child of another data source.
Public method Static member IsDatasourceOneToN Determines whether the current data source or any parent is a 1:N data source.
Public method Static member IsParentRelationship Determines whether a data source is a parent of another.
Public method Static member IsRootDatasource Determines whether the data source is a root of the data source tree.
Public method Static member IsRootSiblingRelationship Determines whether two data sources are siblings at the root.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

Community Additions

ADD
Show: