<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />

Microsoft.SqlServer.Server.SqlUserDefinedAggregateAttribute

Indicates that the type should be registered as a user-defined aggregate. The properties on the attribute reflect the physical attributes used when the type is registered with SQL Server. This class cannot be inherited.
namespace Microsoft.SqlServer.Server { public sealed class SqlUserDefinedAggregateAttribute : Attribute { public const int MaxByteSizeValue = 8000; public Format Format { get; } public bool IsInvariantToDuplicates { get; set; } public bool IsInvariantToNulls { get; set; } public bool IsInvariantToOrder { get; set; } public bool IsNullIfEmpty { get; set; } public int MaxByteSize { get; set; } public string Name { get; set; } public SqlUserDefinedAggregateAttribute(Format format); } }