Class _ByteEnum<T>
Represents enum column which is stored as byte in database.
Implements
System.Collections.Generic.IReadOnlyCollection<Column>
System.Collections.Generic.IEnumerable<Column>
System.Collections.IEnumerable
System.Collections.Generic.IComparer<DataRow>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public sealed class _ByteEnum<T> : EnumColumn<T, byte? >, IDesignable, IColumns, IReadOnlyCollection<Column>, IEnumerable<Column>, IEnumerable, IComparer<DataRow>, IColumn<DbReader, T? >, IColumn<DbReader>, IColumn where T : struct, IConvertible
Type Parameters
Name | Description |
---|---|
T | The enum type. |
Methods
Name | Description |
---|---|
Const(Nullable<T>) | Creates a column of constant expression. |
ConvertToDbValue(Nullable<T>) | |
ConvertToEnum(Nullable<Byte>) | |
CreateConst(Nullable<T>) | |
CreateParam(Nullable<T>) | |
DeserializeDbValue(JsonValue) | |
Equals(Object) | |
GetHashCode() | |
Param(Nullable<T>, _ByteEnum<T>) | Creates a column of parameter expression. |
Read(DbReader) | |
SerializeDbValue(Nullable<Byte>) |
Operators
Name | Description |
---|---|
BitwiseAnd(_ByteEnum<T>, _ByteEnum<T>) | Computes the bitwise AND of its _ByteEnum<T> operands. |
BitwiseOr(_ByteEnum<T>, _ByteEnum<T>) | Computes the bitwise OR of its _ByteEnum<T> operands. |
Equality(_ByteEnum<T>, _ByteEnum<T>) | Performs a logical comparison of the two _ByteEnum<T> parameters for equality. |
Explicit(_Byte to _ByteEnum<T>) | Converts the supplied _Byte to _ByteEnum<T>. |
Explicit(_ByteEnum<T> to _Byte) | Converts the supplied _ByteEnum<T> to _Byte. |
Explicit(_ByteEnum<T> to _String) | Converts the supplied _ByteEnum<T> to _String. |
Implicit(Nullable<T> to _ByteEnum<T>) | Implicitly converts the supplied value to a column of parameter expression. |
Inequality(_ByteEnum<T>, _ByteEnum<T>) | Performs a logical comparison of the two _ByteEnum<T> parameters for non-equality. |