SqlFacetAttribute
using System;
namespace Microsoft.SqlServer.Server
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = false)]
public class SqlFacetAttribute : Attribute
{
public bool IsFixedLength {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public bool IsNullable {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public int MaxSize {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public int Precision {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public int Scale {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public SqlFacetAttribute()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
}