Method | Description | |
---|---|---|
AddForeignKey ( string name, string primaryTable, string primaryColumns, string refTable, string refColumns, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void | ||
AddPrimaryKey ( string name, string table ) : void | ||
AddUniqueConstraint ( string name, string table ) : void | ||
ChangeColumn ( string table, Column column ) : void | ||
ColumnMatch ( string column, string columnDef ) : bool | ||
ConstraintExists ( string table, string name ) : bool | ||
ExtractNameFromColumnDef ( string columnDef ) : string |
Name is the first value before the space.
|
|
GetColumnDefs ( string table ) : string[] | ||
GetColumnNames ( string table ) : string[] | ||
GetColumns ( string table ) : Column[] | ||
GetSqlDefString ( string table ) : string | ||
GetTables ( ) : string[] | ||
IsNullable ( string columnDef ) : bool | ||
ParseSqlColumnDefs ( string sqldef ) : string[] | ||
ParseSqlForColumnNames ( string sqldef ) : string[] |
Turn something like 'columnName INTEGER NOT NULL' into just 'columnName'
|
|
RemoveColumn ( string table, string column ) : void | ||
RemoveForeignKey ( string name, string table ) : void | ||
RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void | ||
SQLiteTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System | ||
TableExists ( string table ) : bool |
public AddForeignKey ( string name, string primaryTable, string primaryColumns, string refTable, string refColumns, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void | ||
name | string | |
primaryTable | string | |
primaryColumns | string | |
refTable | string | |
refColumns | string | |
constraint | Simple.Migrator.Framework.ForeignKeyConstraint | |
return | void |
public AddPrimaryKey ( string name, string table ) : void | ||
name | string | |
table | string | |
return | void |
public AddUniqueConstraint ( string name, string table ) : void | ||
name | string | |
table | string | |
return | void |
public ChangeColumn ( string table, Column column ) : void | ||
table | string | |
column | Column | |
return | void |
public ColumnMatch ( string column, string columnDef ) : bool | ||
column | string | |
columnDef | string | |
return | bool |
public ConstraintExists ( string table, string name ) : bool | ||
table | string | |
name | string | |
return | bool |
public ExtractNameFromColumnDef ( string columnDef ) : string | ||
columnDef | string | |
return | string |
public GetColumnDefs ( string table ) : string[] | ||
table | string | |
return | string[] |
public GetColumnNames ( string table ) : string[] | ||
table | string | |
return | string[] |
public GetColumns ( string table ) : Column[] | ||
table | string | |
return | Column[] |
public GetSqlDefString ( string table ) : string | ||
table | string | |
return | string |
public IsNullable ( string columnDef ) : bool | ||
columnDef | string | |
return | bool |
public ParseSqlColumnDefs ( string sqldef ) : string[] | ||
sqldef | string | |
return | string[] |
public ParseSqlForColumnNames ( string sqldef ) : string[] | ||
sqldef | string | |
return | string[] |
public RemoveColumn ( string table, string column ) : void | ||
table | string | |
column | string | |
return | void |
public RemoveForeignKey ( string name, string table ) : void | ||
name | string | |
table | string | |
return | void |
public RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void | ||
tableName | string | |
oldColumnName | string | |
newColumnName | string | |
return | void |
public SQLiteTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System | ||
dialect | Dialect | |
invariantProvider | string | |
connectionString | string | |
return | System |