Skip to content

SchemaOperationTypeExtensions Class ​

Definition ​

Provides helper methods for working with SchemaOperationType.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Methods ​

NameDescription
SchemaActionType GetActionType(SchemaOperationType operationType)Gets the logical action represented by the specified schema operation.
SchemaObjectType GetObjectType(SchemaOperationType operationType)Gets the target database object type represented by the specified schema operation.
bool IsAlter(SchemaOperationType operationType)Determines whether the specified schema operation represents an alter action.
bool IsCreate(SchemaOperationType operationType)Determines whether the specified schema operation represents a create action.
bool IsDrop(SchemaOperationType operationType)Determines whether the specified schema operation represents a drop action.
bool IsKnown(SchemaOperationType operationType)Determines whether the specified schema operation is a recognized, non-default operation.
bool IsRename(SchemaOperationType operationType)Determines whether the specified schema operation represents a rename action.