ColumnOperation ColumnOperation Class

Definition

public class ColumnOperation : MigrationOperation, IMutableAnnotatable, IAnnotatable
Public Class ColumnOperation
    Inherits MigrationOperation
    Implements IMutableAnnotatable, IAnnotatable
Inheritance
System.ObjectSystem.Object
ColumnOperationColumnOperation
Implements

Properties

ClrType ClrType

public virtual Type ClrType { get; set; }
Public Overridable Property ClrType As Type
Value
System.Type System.Type

ColumnType ColumnType

public virtual string ColumnType { get; set; }
Public Overridable Property ColumnType As String
Value
System.String System.String

ComputedColumnSql ComputedColumnSql

public virtual string ComputedColumnSql { get; set; }
Public Overridable Property ComputedColumnSql As String
Value
System.String System.String

DefaultValue DefaultValue

public virtual object DefaultValue { get; set; }
Public Overridable Property DefaultValue As Object
Value
System.Object System.Object

DefaultValueSql DefaultValueSql

public virtual string DefaultValueSql { get; set; }
Public Overridable Property DefaultValueSql As String
Value
System.String System.String

IsDestructiveChange IsDestructiveChange

Inherited from MigrationOperation

IsNullable IsNullable

public virtual bool IsNullable { get; set; }
Public Overridable Property IsNullable As Boolean
Value
System.Boolean System.Boolean

IsRowVersion IsRowVersion

public virtual bool IsRowVersion { get; set; }
Public Overridable Property IsRowVersion As Boolean
Value
System.Boolean System.Boolean

IsUnicode IsUnicode

public virtual bool ? IsUnicode { get; set; }
Public Overridable Property IsUnicode As Boolean?
Value
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)

Item[String] Item(String)

Gets the value annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

MaxLength MaxLength

public virtual int ? MaxLength { get; set; }
Public Overridable Property MaxLength As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

AddAnnotation(String, Object) AddAnnotation(String, Object)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

Creates a new annotation.

(Inherited from Annotatable)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindAnnotation(String) FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

GetAnnotations() GetAnnotations()

Gets all annotations on the current object.

(Inherited from Annotatable)

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

Adds an annotation to this object or returns the existing annotation if one with the specified name already exists.

(Inherited from Annotatable)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Runs the corresponding conventions when an annotation was set or removed.

(Inherited from Annotatable)

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from Annotatable)

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists.

(Inherited from Annotatable)

ToString() ToString()

Inherited from System.Object

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Gets all annotations on the current object.

(Inherited from Annotatable)