Class _Int64Enum<T>
Represents enum column which is stored as Int64 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 _Int64Enum<T> : EnumColumn<T, long? >, 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<Int64>) | |
| CreateConst(Nullable<T>) | |
| CreateParam(Nullable<T>) | |
| DeserializeDbValue(JsonValue) | |
| Equals(Object) | |
| GetHashCode() | |
| Param(Nullable<T>, _Int64Enum<T>) | Creates a column of parameter expression. |
| Read(DbReader) | |
| SerializeDbValue(Nullable<Int64>) |
Operators
| Name | Description |
|---|---|
| BitwiseAnd(_Int64Enum<T>, _Int64Enum<T>) | Computes the bitwise AND of its _Int64Enum<T> operands. |
| BitwiseOr(_Int64Enum<T>, _Int64Enum<T>) | Computes the bitwise OR of its _Int64Enum<T> operands. |
| Equality(_Int64Enum<T>, _Int64Enum<T>) | Performs a logical comparison of the two _Int64Enum<T> parameters for equality. |
| Explicit(_Int64 to _Int64Enum<T>) | Converts the supplied _Int64 to _Int64Enum<T>. |
| Explicit(_Int64Enum<T> to _Int64) | Converts the supplied _Int64Enum<T> to _Int64. |
| Explicit(_Int64Enum<T> to _String) | Converts the supplied _Int64Enum<T> to _String. |
| Implicit(Nullable<T> to _Int64Enum<T>) | Implicitly converts the supplied value to a column of parameter expression. |
| Inequality(_Int64Enum<T>, _Int64Enum<T>) | Performs a logical comparison of the two _Int64Enum<T> parameters for non-equality. |