Class SpecialDbTypeAttribute
Attribute that represents the usage of a special type
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
Assembly: Umbraco.Infrastructure.dll
Syntax
public class SpecialDbTypeAttribute : Attribute
Remarks
Should only be used when the .NET type can't be directly translated to a DbType.
Constructors
View SourceSpecialDbTypeAttribute(String)
Declaration
public SpecialDbTypeAttribute(string databaseType)
Parameters
Type | Name | Description |
---|---|---|
System.String | databaseType |
SpecialDbTypeAttribute(SpecialDbTypes)
Declaration
public SpecialDbTypeAttribute(SpecialDbTypes databaseType)
Parameters
Type | Name | Description |
---|---|---|
SpecialDbTypes | databaseType |
Properties
View SourceDatabaseType
Gets or sets the SpecialDbType for this column
Declaration
public SpecialDbType DatabaseType { get; }
Property Value
Type | Description |
---|---|
SpecialDbType |