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

This class provides a place to put methods that indicate the possible targets of reference attributes, for the cases where we need access to them apart from calling ReferenceTargetCandidates on an instance.
Exibir arquivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
CmObjectReferenceTargetOwner ( FdoCache cache, int flid ) : ICmObject

Return the object (actually a possibility list) that owns the possible targets for the properties a particular field of of a CmObject (if any). This only handles the default, that is, any custom fields. Some more specific method should be used (perhaps created) if you need the object for some real field.

RnGenericRecReferenceTargetOwner ( FdoCache cache, int flid ) : ICmObject

Return the object (actually a possibility list) that owns the possible targets for the properties of a particular field of an RnGenericRec.

Method Details

CmObjectReferenceTargetOwner() public static method

Return the object (actually a possibility list) that owns the possible targets for the properties a particular field of of a CmObject (if any). This only handles the default, that is, any custom fields. Some more specific method should be used (perhaps created) if you need the object for some real field.
public static CmObjectReferenceTargetOwner ( FdoCache cache, int flid ) : ICmObject
cache FdoCache
flid int
return ICmObject

RnGenericRecReferenceTargetOwner() public static method

Return the object (actually a possibility list) that owns the possible targets for the properties of a particular field of an RnGenericRec.
public static RnGenericRecReferenceTargetOwner ( FdoCache cache, int flid ) : ICmObject
cache FdoCache
flid int
return ICmObject