Platform Core .NET Assemblies API
GetDBPrimaryColumn Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > EntitySchema Class : GetDBPrimaryColumn Method

Glossary Item Box

Returns the primary column for the current schema. If the column is not found, the exception is thrown.

Syntax

 
C#
 
 

Return Value

If the schema is derived independently, the primary column of the current schema will be returned. In one-to-one inheritance, the column of relationship with the parent of the current schema will be returned.

Exceptions

ExceptionDescription
Terrasoft.Common.NullOrEmptyExceptionIf either the primary column or column of the parent relationship is not specified for the current schema.

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.