Adds a prrimary key property to the ClassDeclaration.
| C# | Visual Basic | Visual 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
- classDeclaration (ClassDeclaration)
- The ClassDeclaration instance the property is added to.
- table (TableSchema)
- The database table the ClassDeclaration represents.
[Missing <returns> documentation for M:HyperActive.Core.Generators.ActiveRecordGenerator.CreatePrimaryKeyProperty(HyperActive.Dominator.ClassDeclaration,HyperActive.SchemaProber.TableSchema)]