EchoTex_Payroll/Ease.Core/Enums.cs
2024-10-14 10:01:49 +06:00

117 lines
1.7 KiB
C#

using System;
namespace Ease.Core
{
#region EnuSQL Syntax Enum
public enum SQLSyntax
{
Access = 1,
SQL,
Oracle,
Informix
}
#endregion
[Serializable]
public enum EnumTrainingCharacter
{
Class_Room_Education = 1,
On_the_job_training = 2,
Developmental_relationships = 3,
Functional_Developments = 4
}
#region Provider
public enum Provider
{
Sql = 1,
OracleNative,
Oracle,
OleDb,
Odbc
}
#endregion
#region Enumeration: ObjectState
public enum ObjectState
{
New,
Modified,
Saved
}
#endregion
#region Action enumeration
public enum ActionEnum : short
{
Insert = 1,
Update = 2,
Delete = 3
}
#endregion
#region Date format Enum
/// <summary>
/// This function return actual date according
/// to passed parameter (optional time format after date, then a space
/// and foramt 'hh:mm:ss AM/PM'
/// </summary>
public enum FormatOptions : byte
{
ddMMyyyy = 1,
MMddyyyy = 2,
ddMMMyyyy = 3
}
#endregion
#region Create Mode
internal enum CreateMode
{
Local,
Remote
}
#endregion
#region Address Type: outlook
public enum AddressType : int
{
Home,
Business,
Other
}
#endregion
[Serializable]
public enum enumCompetency
{
None = 0,
Value = 1,
Competency = 2
}
[Serializable]
public enum EnumResidence
{
None = 0,
Own = 1,
Rented = 2
}
}