Change Status enum underlying type to short
Explicitly set the Status enum's underlying type to short instead of the default int to optimize memory usage and clarify intent. No other changes were made.
This commit is contained in:
@@ -11,7 +11,7 @@ namespace ReC.Domain.Constants;
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <seealso cref="StatusExtensions"/>
|
||||
public enum Status
|
||||
public enum Status : short
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates that a SQL query executed successfully (value 0).
|
||||
|
||||
Reference in New Issue
Block a user