Interface IOrpheusTableKeyField
- Namespace
- OrpheusInterfaces.Core
- Assembly
- OrpheusInterfaces.dll
Represents an Orpheus table key field.
public interface IOrpheusTableKeyField
Properties
IsAutoGenerated
If set to true and the type is System.Guid then with every new insert, a value will be auto generated.
bool IsAutoGenerated { get; set; }
Property Value
- bool
True if the field value is auto generated
IsDBGenerated
True if the underlying db engine is going to generate the value for the key.
bool IsDBGenerated { get; set; }
Property Value
- bool
True if field value is DB generated
KeySQLUpdate
Function that returns a SQL string to be used in a WHERE clause, to select the new key value(s) after an insert.
Func<string> KeySQLUpdate { get; set; }
Property Value
Name
Name of the field that is the table key.
string Name { get; set; }
Property Value
- string
Field name