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