Table of Contents

Class OrpheusTableKeyField

Namespace
OrpheusCore
Assembly
OrpheusCore.dll
public class OrpheusTableKeyField : IOrpheusTableKeyField
Inheritance
OrpheusTableKeyField
Implements
Inherited Members

Properties

IsAutoGenerated

public bool IsAutoGenerated { get; set; }

Property Value

bool

If set to true and the type is System.Guid then with every new insert, a value will be auto generated.

IsDBGenerated

public bool IsDBGenerated { get; set; }

Property Value

bool

True if the underlying db engine is going to generate the value for the key.

KeySQLUpdate

public Func<string> KeySQLUpdate { get; set; }

Property Value

Func<string>

Function that returns a SQL string to used to select the new key value after an insert.

Name

public string Name { get; set; }

Property Value

string

Name of the field that is the table key.