C# Class DotNetMigrations.Migrations.MigrationScriptFile

Inheritance: IMigrationScriptFile
Mostra file Open project: jpoehls/dotnetmigrations Class Usage Examples

Public Methods

Method Description
Equals ( MigrationScriptFile other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
MigrationScriptFile ( string filePath ) : System
Read ( ) : MigrationScriptContents

Parses and returns the contents of the migration script file.

Write ( MigrationScriptContents contents ) : void

Writes the given contents into the migration script file.

operator ( ) : bool

Private Methods

Method Description
MigrationScriptFile ( ) : System
ParseVersion ( ) : void

Method Details

Equals() public method

public Equals ( MigrationScriptFile other ) : bool
other MigrationScriptFile
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

MigrationScriptFile() public method

public MigrationScriptFile ( string filePath ) : System
filePath string
return System

Read() public method

Parses and returns the contents of the migration script file.
public Read ( ) : MigrationScriptContents
return MigrationScriptContents

Write() public method

Writes the given contents into the migration script file.
public Write ( MigrationScriptContents contents ) : void
contents MigrationScriptContents
return void

operator() public static method

public static operator ( ) : bool
return bool