IDataStandard Interface |
Namespace: SOWIData
The IDataStandard type exposes the following members.
Name | Description | |
---|---|---|
ActionDB |
Data item ActionDB action value of enumeration Actions
| |
ActionText |
Data item ActionText action value for database storage
| |
Archive |
Data item archive flag
| |
Checked |
Data item Checked use for user interface handling by checkbox
| |
ClientID |
Data item Client ID (foreign key to Client)
| |
ColorUI |
Data item Color UI use for user interface color handling
| |
CreateDate |
Data item create date
| |
CreateUser |
Data item create user
| |
DateTimeValue |
Data item DataTiemValue use for application
| |
DeleteDate |
Data item delete date
| |
DeleteUser |
Data item delete user
| |
Description |
Data item Description use for application
| |
Flag |
Data item Flag (boolean) use for application
| |
GUID |
Data item GUID (Globally Unique Identifier use for e.g. Import/Export function)
| |
Help |
Data item helper field
| |
ID |
Data item ID (identification: primary key for tables)
| |
Label |
Data item Label use for application
| |
LastEditDate |
Data item last edit date
| |
LastEditUser |
Data item last edit user
| |
Name |
Data item Name use for applicatin (flag: unique and unchanged)
| |
NameOriginalValue |
Data item Name original value use for check unchanged
| |
Selection |
Data item Selection use for user interface by selection (options)
| |
Status |
Data item Status status value of enumeration Statuses
| |
StatusText |
Data item StatusText status value for database storage
| |
Task |
Data item Task task value of enumeration Tasks
| |
TaskText |
Data item TaskText task value for database storage
| |
Text |
Data item Text (string) use for application
| |
Value |
Data item Value (double) use for application
|
Example index function
/// <summary> /// Index handling example this[FieldName] /// </summary> public object this[string FieldName] { get { return this.GetType().GetProperty(FieldName).GetValue(this, null); } set { this.GetType().GetProperty(FieldName).SetValue(this, value, null); } }
/// <summary> /// Data item ID (identification: primary key for tables) /// </summary> public int ID { get; set; } /// <summary> /// Data item GUID (Globally Unique Identifier use for e.g. Import/Export function) /// </summary> public Nullable<Guid> GUID { get; set; } /// <summary> /// Data item Client ID (foreign key to Client) /// </summary> public int ClientID { get; set; } /// <summary> /// Data item Name use for applicatin (flag: unique and unchanged) /// </summary> public string Name { get; set; } /// <summary> /// Data item Name original value use for check unchanged /// </summary> public string NameOriginalValue { get; set; } /// <summary> /// Data item Label use for application /// </summary> public string Label { get; set; } /// <summary> /// Data item Description use for application /// </summary> public string Description { get; set; } /// <summary> /// Data item DataTiemValue use for application /// </summary> public Nullable<System.DateTime> DateTimeValue { get; set; } /// <summary> /// Data item Value (double) use for application /// </summary> public double Value { get; set; } /// <summary> /// Data item Text (string) use for application /// </summary> public string Text { get; set; } /// <summary> /// Data item Flag (boolean) use for application /// </summary> public Boolean Flag { get; set; } /// <summary> /// Data item Checked use for user interface handling by checkbox /// </summary> public Boolean Checked { get; set; } /// <summary> /// Data item Selection use for user interface by selection (options) /// </summary> public int Selection { get; set; } /// <summary> /// Data item Color UI use for user interface color handling /// </summary> public string ColorUI { get; } /// <summary> /// Data item ActionText action value for database storage /// </summary> public string ActionText { get; set; } /// <summary> /// Data item ActionDB action value of enumeration Actions /// </summary> public SOWIData.Actions ActionDB { get; set; } /// <summary> /// Data item TaskText task value for database storage /// </summary> public string TaskText { get; set; } /// <summary> /// Data item Task task value of enumeration Tasks /// </summary> public SOWIData.Tasks Task { get; set; } /// <summary> /// Data item StatusText status value for database storage /// </summary> public string StatusText { get; set; } /// <summary> /// Data item Status status value of enumeration Statuses /// </summary> public SOWIData.Statuses Status { get; set; } /// <summary> /// Data item create date /// </summary> public Nullable<System.DateTime> CreateDate { get; set; } /// <summary> /// Data item create user /// </summary> public string CreateUser { get; set; } /// <summary> /// Data item last edit date /// </summary> public Nullable<System.DateTime> LastEditDate { get; set; } /// <summary> /// Data item last edit user /// </summary> public string LastEditUser { get; set; } /// <summary> /// Data item delete date /// </summary> public Nullable<System.DateTime> DeleteDate { get; set; } /// <summary> /// Data item delete user /// </summary> public string DeleteUser { get; set; } /// <summary> /// Data item archive flag /// </summary> public Boolean Archive { get; set; } /// <summary> /// Data item helper field /// </summary> public string Help { get; set; }