Show / Hide Table of Contents

Class KeyProperty

A property that makes up a part of a PrimaryKey

Inheritance
Object
KeyProperty
Namespace: Seltzr.OrmBase
Assembly: Seltzr.OrmBase.dll
Syntax
C#
public class KeyProperty

Constructors

| Improve this Doc View Source

KeyProperty(PropertyInfo)

Initializes a new instance of the KeyProperty class, with the name set to the name of the given PropertyInfo

C#
public KeyProperty(PropertyInfo propertyInfo)
Parameters
propertyInfoPropertyInfo

The key property

| Improve this Doc View Source

KeyProperty(String, PropertyInfo)

Initializes a new instance of the KeyProperty class.

C#
public KeyProperty(string name, PropertyInfo propertyInfo)
Parameters
nameString

The name of the property

propertyInfoPropertyInfo

The key property

Properties

| Improve this Doc View Source

Name

Gets the name of the key property

C#
public string Name { get; }
Property Value
String
| Improve this Doc View Source

PropertyInfo

Gets the key property

C#
public PropertyInfo PropertyInfo { get; }
Property Value
PropertyInfo
  • Improve this Doc
  • View Source
Back to top Generated by DocFX