HyperActive
CreatePrimaryKeyProperty Method (classDeclaration, table)
NamespacesHyperActive.Core.GeneratorsActiveRecordGeneratorCreatePrimaryKeyProperty(ClassDeclaration, TableSchema)
Adds a prrimary key property to the ClassDeclaration.
Declaration Syntax
C#Visual BasicVisual C++
protected abstract PropertyDeclaration CreatePrimaryKeyProperty(
	ClassDeclaration classDeclaration,
	TableSchema table
)
Protected MustOverride Function CreatePrimaryKeyProperty ( _
	classDeclaration As ClassDeclaration, _
	table As TableSchema _
) As PropertyDeclaration
protected:
virtual PropertyDeclaration^ CreatePrimaryKeyProperty(
	ClassDeclaration^ classDeclaration, 
	TableSchema^ table
) abstract
Parameters
classDeclaration (ClassDeclaration)
The ClassDeclaration instance the property is added to.
table (TableSchema)
The database table the ClassDeclaration represents.
Return Value

[Missing <returns> documentation for M:HyperActive.Core.Generators.ActiveRecordGenerator.CreatePrimaryKeyProperty(HyperActive.Dominator.ClassDeclaration,HyperActive.SchemaProber.TableSchema)]

Assembly: HyperActive (Module: HyperActive) Version: 1.3.1.9 (1.3.1.9)