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

Glossary Item Box

Name of the primary column of the given schema in the database table.

Syntax

 
C#
 
 

Return Value

Name of the column in the database table that matches the primary column of the schema.

Exceptions

ExceptionDescription
Terrasoft.Common.NullOrEmptyExceptionIf the primary column is not initialized for the given schema.
Terrasoft.Common.NullOrEmptyExceptionIf the name of the primary column of the given schema is empty or null.
Terrasoft.Common.NullOrEmptyExceptionIf the parent relationship column for the one-to-one inheritance is not initialized for the given schema.
Terrasoft.Common.NullOrEmptyExceptionIf the name of the parent relationship column of the given schema is empty or null.

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.