View Source
Struct SpecialDbType
Allows for specifying custom DB types that are not natively mapped.
Assembly: Umbraco.Infrastructure.dll
Syntax
public struct SpecialDbType
Constructors
View Source
SpecialDbType(string)
Declaration
public SpecialDbType(string dbType)
Parameters
| Type |
Name |
Description |
| string |
dbType |
|
View Source
SpecialDbType(SpecialDbTypes)
Declaration
public SpecialDbType(SpecialDbTypes specialDbTypes)
Parameters
Properties
View Source
NCHAR
Declaration
public static SpecialDbType NCHAR { get; }
Property Value
View Source
NTEXT
Declaration
[Obsolete("Use NVARCHARMAX instead")]
public static SpecialDbType NTEXT { get; }
Property Value
View Source
NVARCHARMAX
Declaration
public static SpecialDbType NVARCHARMAX { get; }
Property Value
Methods
View Source
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current instance.
|
Returns
| Type |
Description |
| bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
View Source
Equals(SpecialDbType)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(SpecialDbType other)
Parameters
| Type |
Name |
Description |
| SpecialDbType |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A 32-bit signed integer that is the hash code for this instance.
|
View Source
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
The fully qualified type name.
|
Operators
View Source
operator ==(SpecialDbTypes, SpecialDbType)
Declaration
public static bool operator ==(SpecialDbTypes x, SpecialDbType y)
Parameters
Returns
View Source
implicit operator string(SpecialDbType)
Declaration
public static implicit operator string(SpecialDbType dbType)
Parameters
Returns
View Source
operator !=(SpecialDbTypes, SpecialDbType)
Declaration
public static bool operator !=(SpecialDbTypes x, SpecialDbType y)
Parameters
Returns