C# Class SIL.FieldWorks.FDO.DomainServices.GphVariants

GhostParentHelper subclass for the complex entry type field. - a ghost owner is considered childless although it may have variant EntryRefs if it has no complex form ones.
Inheritance: GhostParentHelper
Exibir arquivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
IsGhostOwnerChildless ( int hvoItem ) : bool

Return true if we have no complex form EntryRef. Although the property for which this GPH is used initially contains only entries that have no complex form LER, a previous bulk edit might have created one.

Private Methods

Method Description
CreateOwnerOfTargetProp ( int hvoItem, int flidBasicProp ) : int

Override to make the new object a complex one.

GetFirstChildFromParent ( int hvoParent ) : int

We want specifically the first EntryRef of type variant.

GphVariants ( IFdoServiceLocator services ) : System

Method Details

IsGhostOwnerChildless() public method

Return true if we have no complex form EntryRef. Although the property for which this GPH is used initially contains only entries that have no complex form LER, a previous bulk edit might have created one.
public IsGhostOwnerChildless ( int hvoItem ) : bool
hvoItem int
return bool