Click or drag to resize

IDataStandard Interface

Standard data fields interface

Namespace:  SOWIData
Assembly:  SOWIData (in SOWIData.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public interface IDataStandard

The IDataStandard type exposes the following members.

Properties
  NameDescription
Public propertyActionDB
Data item ActionDB action value of enumeration Actions
Public propertyActionText
Data item ActionText action value for database storage
Public propertyArchive
Data item archive flag
Public propertyChecked
Data item Checked use for user interface handling by checkbox
Public propertyClientID
Data item Client ID (foreign key to Client)
Public propertyColorUI
Data item Color UI use for user interface color handling
Public propertyCreateDate
Data item create date
Public propertyCreateUser
Data item create user
Public propertyDateTimeValue
Data item DataTiemValue use for application
Public propertyDeleteDate
Data item delete date
Public propertyDeleteUser
Data item delete user
Public propertyDescription
Data item Description use for application
Public propertyFlag
Data item Flag (boolean) use for application
Public propertyGUID
Data item GUID (Globally Unique Identifier use for e.g. Import/Export function)
Public propertyHelp
Data item helper field
Public propertyID
Data item ID (identification: primary key for tables)
Public propertyLabel
Data item Label use for application
Public propertyLastEditDate
Data item last edit date
Public propertyLastEditUser
Data item last edit user
Public propertyName
Data item Name use for applicatin (flag: unique and unchanged)
Public propertyNameOriginalValue
Data item Name original value use for check unchanged
Public propertySelection
Data item Selection use for user interface by selection (options)
Public propertyStatus
Data item Status status value of enumeration Statuses
Public propertyStatusText
Data item StatusText status value for database storage
Public propertyTask
Data item Task task value of enumeration Tasks
Public propertyTaskText
Data item TaskText task value for database storage
Public propertyText
Data item Text (string) use for application
Public propertyValue
Data item Value (double) use for application
Top
Remarks
When use in SOWI Framework e.g. SOWI Web standard Index with DataGrid settings then implement a function with index handling.
Examples

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); }
}
An example of implementation
/// <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; }
See Also