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

SqlFunctionAttribute

using System; namespace Microsoft.SqlServer.Server { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] [Obsolete("Use the Microsoft.SqlServer.Server package instead.")] public class SqlFunctionAttribute : Attribute { public DataAccessKind DataAccess { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public string FillRowMethodName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public bool IsDeterministic { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public bool IsPrecise { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public string Name { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public SystemDataAccessKind SystemDataAccess { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public string TableDefinition { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public SqlFunctionAttribute() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } }