On the server side of my application I use MS SQL Server 2014 Express. On client side I have C# WPF application and I have the following enum type there:
/// <summary>
/// User authorization level.
/// </summary>
public enum UserAuthorizationLevel
{
/// <summary>
/// Only visual inspection is allowed (the first lower level).
/// </summary>
Inspection,
/// <summary>
/// Some settings in apparatus are allowed (the second level).
/// </summary>
SettingDeviceParametersApplied,
/// <summary>
/// Some more setting in apparatus are allowed than in the second level (the third level).
/// </summary>
Maintenance,
/// <summary>
/// Apparatus manufacturer level - full access is allowed (the highest level).
/// </summary>
Manufacturer
}
Can I create this type on server side (in MS SQL Server database) and use this type as type for fields in database tables?