Class SpecialDbTypeAttribute
Attribute that represents the usage of a special type
Inheritance
System.Object
System.Attribute
Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
Assembly: cs.temp.dll.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(String)
Declaration
public SpecialDbTypeAttribute(string databaseType)
Parameters
Type | Name | Description |
---|---|---|
System. |
databaseType |
SpecialDbTypeAttribute(SpecialDbTypes)
Declaration
public SpecialDbTypeAttribute(SpecialDbTypes databaseType)
Parameters
Type | Name | Description |
---|---|---|
Special |
databaseType |
Properties
DatabaseType
Gets or sets the Special
Declaration
public SpecialDbType DatabaseType { get; }
Property Value
Type | Description |
---|---|
Special |