SchemaMigrationAttribute Class

Defines an attribute that will mark a class as the target of a database schema migration.

Definition

Namespace: Gemstone.Data.SchemaMigration
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.171 -- Release Build+09eddea1dde2c1898c071986897c26dec26592bc
public class SchemaMigrationAttribute : MigrationAttribute
Inheritance
Object    Attribute    MigrationAttribute    SchemaMigrationAttribute

Remarks

In Gemstone, use this instead of the Fluent MigrationAttribute for consistent versioning.

Constructors

SchemaMigrationAttribute Creates a new SchemaMigrationAttribute.

Properties

Author Gets the author of the migration.
BreakingChange Gets or sets a value indicating whether the transaction is a breaking change
(Inherited from MigrationAttribute)
Description Gets the description
(Inherited from MigrationAttribute)
TransactionBehavior Gets the desired transaction behavior
(Inherited from MigrationAttribute)
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Version Gets the migration version
(Inherited from MigrationAttribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also