Class SpecialDbTypeAttribute
Attribute that represents the usage of a special type
Inheritance
System.Object
System.Attribute
Namespace:System.Dynamic.ExpandoObject
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
SpecialDbTypeAttribute(SpecialDbTypes)
Declaration
public SpecialDbTypeAttribute(SpecialDbTypes databaseType)
Parameters
Type | Name | Description |
---|---|---|
SpecialDbTypes | databaseType |
Properties
DatabaseType
Gets or sets the SpecialDbTypes for this column
Declaration
public SpecialDbTypes DatabaseType { get; }
Property Value
Type | Description |
---|---|
SpecialDbTypes |