Enhance framework compatibility and code readability

Added preprocessor directives for .NET framework compatibility.
Modified `using` directives to be framework-specific.
Improved code formatting for better readability.
Introduced obsolete attributes for deprecated methods,
recommending `MediatR` as an alternative.
Added XML documentation for clarity and maintainability.
This commit is contained in:
Developer 02
2025-09-30 17:33:51 +02:00
parent 07ab7f0c62
commit 74a625a863
13 changed files with 215 additions and 191 deletions

View File

@@ -1,4 +1,5 @@
namespace DigitalData.Core.Abstraction.Application;
#if NET
namespace DigitalData.Core.Abstraction.Application;
/// <summary>
/// Provides extension methods for retrieving the value of an 'Id' property from objects.
@@ -91,4 +92,5 @@ public static class EntityExtensions
#pragma warning restore CS8601
return id is not null;
}
}
}
#endif