Click or drag to resize

IModelInfoProvider Interface

Interface for the ModelInfoProvider generated class which is used to provide field and inheritance info for adapter/selfservicing objects.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public interface IModelInfoProvider : IFieldInfoProvider, 
	IInheritanceInfoProvider

The IModelInfoProvider type exposes the following members.

Methods
  NameDescription
Public methodCheckIfIsSubTypeOf
Determines if typeToCheck is a subtype of superType.
(Inherited from IInheritanceInfoProvider.)
Public methodCreateField2
Creates an EntityField2 representing the field with the index specified
(Inherited from IFieldInfoProvider.)
Public methodCreateHierarchyRelationTField
Creates a new hierarchy relation using the fields specified. A hierarchy relation is a 1:1 relation used for inheritance information.
Public methodCreateRelationTField
Creates a new relation object from the information specified.
Public methodGetAllEntityNamesInProvider
Gets all entity names in the provider.
(Inherited from IInheritanceInfoProvider.)
Public methodGetEntityFactory
Retrieves the factory for the entity represented by the values passed in, or null if entityName isn't present. The values have to represent an entity of the type entityName or a subtype of that type.
(Inherited from IInheritanceInfoProvider.)
Public methodGetEntityFields(String)
Fills the entity fields object for the adapter entity with the name specified.
Public methodGetEntityFields(String, IPersistenceInfoProvider)
Fills the entity fields object for the selfservicing entity with the name specified.
Public methodGetEntityFieldsArray(String)
Gets the entity fields array.
(Inherited from IFieldInfoProvider.)
Public methodGetEntityFieldsArray(String, IPersistenceInfoProvider)
Gets the entity fields array.
(Inherited from IFieldInfoProvider.)
Public methodGetEntityNamesOnHierarchyPath
Gets the entity names on hierarchy path, from this entity to the root starting with the root of the hierarchy and ending with the name specified as entityName. If entityName entity is a root entity, this collection contains one name: entityName.
(Inherited from IInheritanceInfoProvider.)
Public methodGetEntityTypeFilter(String, Boolean)
Gets a predicateexpression which filters on the entity with type 'entityName'. Example of a valid name is 'CustomerEntity'.
(Inherited from IInheritanceInfoProvider.)
Public methodGetEntityTypeFilter(String, String, Boolean)
Gets a predicateexpression which filters on the entity with type 'entityName'. Example of a valid name is 'CustomerEntity'.
(Inherited from IInheritanceInfoProvider.)
Public methodGetEntityTypeFilters
Gets the entity type filters for the entity names specified. It will use the object aliases specified for the entity names. It will filter out entities which are in a hierarchy of type TargetPerEntity and will also filter out supertypes if the subtype is also in the list. Routine is used to add type filters to typedlists automatically for fields in TargetPerEntityHierarchy hierarchies.
(Inherited from IInheritanceInfoProvider.)
Public methodGetFieldIndexes
Gets the field indexes object for the element passed in. This is an object which is used by EntityFields(2) objects to quickly find a field based on the field name.
(Inherited from IFieldInfoProvider.)
Public methodGetFieldInfo(Enum)
Gets the field info for the field specified with the field index.
(Inherited from IFieldInfoProvider.)
Public methodGetFieldInfo(String, Int32)
Gets the field info for the field passed in for the element passed in
(Inherited from IFieldInfoProvider.)
Public methodGetFieldInfo(String, String)
Gets the field info for the field passed in for the element passed in
(Inherited from IFieldInfoProvider.)
Public methodGetFieldInfos
Gets the field infos for the element passed in.
(Inherited from IFieldInfoProvider.)
Public methodGetHierarchyFieldAlias
Gets the hierarchy field alias to use for targeting this field in an entity fetch. The alias is of the format FentityIndex_fieldIndex which is the same alias as for the fields returned by GetHierarchyFields.
(Inherited from IInheritanceInfoProvider.)
Public methodGetHierarchyFields
This method returns an array of IEntityFieldCore objects which contains all fields of all entities on the path: entityName upwards to the root and entityName downwards to all leafs reachable from entityName, including entityName.
(Inherited from IInheritanceInfoProvider.)
Public methodGetHierarchyRelations(ListString, String)
This method returns all relations from the lowest entity found in the passed in entityNames to the root and from the lowest entityName downwards to all the reachable leafs from entityName. All relations to the root are INNER JOIN, all relations from the lowest entityName to leafs are LEFT JOIN
(Inherited from IInheritanceInfoProvider.)
Public methodGetHierarchyRelations(String, String)
This method returns all relations from the entityName to the root and from the entityName downwards to all the reachable leafs from entityName. All relations to the root are INNER JOIN, all relations from entityName to leafs are LEFT JOIN
(Inherited from IInheritanceInfoProvider.)
Public methodGetHierarchyRelations(String, String, Boolean)
This method returns all relations from the entityName to the root and from the entityName downwards to all the reachable leafs from entityName, if includePathsToReachableLeafs is set to true. All relations to the root are INNER JOIN, all relations from entityName to leafs are LEFT JOIN
(Inherited from IInheritanceInfoProvider.)
Public methodGetHierarchyType
Gets the type of the hierarchy.
(Inherited from IInheritanceInfoProvider.)
Public methodGetInheritanceInfo
Gets an IInheritanceInfo object with the inheritance information for the entity with the supplied name.
(Inherited from IInheritanceInfoProvider.)
Public methodGetTypedViewFields(String)
Gets the entityfields2 object for the typedview with the name specified (e.g. "InvoicesTypedView")
(Inherited from IFieldInfoProvider.)
Public methodGetTypedViewFields(String, IPersistenceInfoProvider)
Gets the entityfields object for the typedview with the name specified (e.g. "InvoicesTypedView")
(Inherited from IFieldInfoProvider.)
Public methodIsEntityInInheritanceHierarchy
Determines whether the entity with the name specified is in an inheritance hierarchy or not.
(Inherited from IInheritanceInfoProvider.)
Top
See Also