Platform Core .NET Assemblies API
FetchFromDB(Object,Boolean) Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > Entity Class > FetchFromDB Method : FetchFromDB(Object,Boolean) Method
keyValue
Key field value.
useDisplayValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.

Glossary Item Box

Loads the object from the database by the specified value of the key field.

Syntax

 
C#
 
 

Parameters

keyValue
Key field value.
useDisplayValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.

Return Value

true,, if the object is loaded otherwise - false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.