Class InformationSchema.ColumnDomainUsage
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
COLUMN_DOMAIN_USAGE (Transact-SQL)
Applies to: √ SQL Server (all supported versions) √ Azure SQL Database
Returns one row for each column in the current database that has an alias data type. This information schema view returns information about the objects to which the current user has permissions.
To retrieve information from these views, specify the fully qualified name of INFORMATION_SCHEMA._view_name_.
[Table(Schema = "INFORMATION_SCHEMA", Name = "COLUMN_DOMAIN_USAGE", IsView = true)]
public class InformationSchema.ColumnDomainUsage
- Inheritance
-
InformationSchema.ColumnDomainUsage
- Extension Methods
Properties
ColumnName
Column using the alias data type.
[Column("COLUMN_NAME")]
[Nullable]
public string? ColumnName { get; set; }
Property Value
DomainCatalog
Database in which the alias data type exists.
[Column("DOMAIN_CATALOG")]
[Nullable]
public string? DomainCatalog { get; set; }
Property Value
DomainName
Alias data type.
[Column("DOMAIN_NAME")]
[NotNull]
public string DomainName { get; set; }
Property Value
DomainSchema
Name of schema that contains the alias data type.
Important Do not use INFORMATION_SCHEMA views to determine the schema of a data type. The only reliable way to find the schema of a type is to use the TYPEPROPERTY function.
[Column("DOMAIN_SCHEMA")]
[Nullable]
public string? DomainSchema { get; set; }
Property Value
TableCatalog
Table qualifier.
[Column("TABLE_CATALOG")]
[Nullable]
public string? TableCatalog { get; set; }
Property Value
TableName
Table in which the alias data type is used.
[Column("TABLE_NAME")]
[NotNull]
public string TableName { get; set; }
Property Value
TableSchema
Table owner.
Important Do not use INFORMATION_SCHEMA views to determine the schema of an object. INFORMATION_SCHEMA views only represent a subset of the metadata of an object. The only reliable way to find the schema of a object is to query the sys.objects catalog view.
[Column("TABLE_SCHEMA")]
[Nullable]
public string? TableSchema { get; set; }