mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
removed Migrator.NET, 7zip
added nunit console runner
This commit is contained in:
parent
3a26e0189d
commit
92d4b549c8
Binary file not shown.
Binary file not shown.
@ -1,29 +0,0 @@
|
||||
7-Zip Command line version
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
License for use and distribution
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
7-Zip Copyright (C) 1999-2010 Igor Pavlov.
|
||||
|
||||
7za.exe is distributed under the GNU LGPL license
|
||||
|
||||
Notes:
|
||||
You can use 7-Zip on any computer, including a computer in a commercial
|
||||
organization. You don't need to register or pay for 7-Zip.
|
||||
|
||||
|
||||
GNU LGPL information
|
||||
--------------------
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You can receive a copy of the GNU Lesser General Public License from
|
||||
http://www.gnu.org/
|
@ -1,41 +0,0 @@
|
||||
7-Zip Command line version 9.20
|
||||
-------------------------------
|
||||
|
||||
7-Zip is a file archiver with high compression ratio.
|
||||
7za.exe is a standalone command line version of 7-Zip.
|
||||
|
||||
7-Zip Copyright (C) 1999-2010 Igor Pavlov.
|
||||
|
||||
Features of 7za.exe:
|
||||
- High compression ratio in new 7z format
|
||||
- Supported formats:
|
||||
- Packing / unpacking: 7z, xz, ZIP, GZIP, BZIP2 and TAR
|
||||
- Unpacking only: Z, lzma
|
||||
- Highest compression ratio for ZIP and GZIP formats.
|
||||
- Fast compression and decompression
|
||||
- Strong AES-256 encryption in 7z and ZIP formats.
|
||||
|
||||
7za.exe is a free software distributed under the GNU LGPL.
|
||||
Read license.txt for more information.
|
||||
|
||||
Source code of 7za.exe and 7-Zip can be found at
|
||||
http://www.7-zip.org/
|
||||
|
||||
7za.exe can work in Windows 95/98/ME/NT/2000/2003/2008/XP/Vista/7.
|
||||
|
||||
There is also port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD,
|
||||
FreeBSD, Cygwin, AIX, ...), MacOS X and BeOS:
|
||||
|
||||
http://p7zip.sourceforge.net/
|
||||
|
||||
|
||||
This distributive packet contains the following files:
|
||||
|
||||
7za.exe - 7-Zip standalone command line version.
|
||||
readme.txt - This file.
|
||||
license.txt - License information.
|
||||
7-zip.chm - User's Manual in HTML Help format.
|
||||
|
||||
|
||||
---
|
||||
End of document
|
Binary file not shown.
@ -1,919 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Migrator.Framework</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="M:Migrator.Framework.ILogger.Started(System.Collections.Generic.List{System.Int64},System.Int64)">
|
||||
<summary>
|
||||
Log that we have started a migration
|
||||
</summary>
|
||||
<param name="currentVersion">Start list of versions</param>
|
||||
<param name="finalVersion">Final Version</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.MigrateUp(System.Int64,System.String)">
|
||||
<summary>
|
||||
Log that we are migrating up
|
||||
</summary>
|
||||
<param name="version">Version we are migrating to</param>
|
||||
<param name="migrationName">Migration name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.MigrateDown(System.Int64,System.String)">
|
||||
<summary>
|
||||
Log that we are migrating down
|
||||
</summary>
|
||||
<param name="version">Version we are migrating to</param>
|
||||
<param name="migrationName">Migration name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Skipping(System.Int64)">
|
||||
<summary>
|
||||
Inform that a migration corresponding to the number of
|
||||
version is untraceable (not found?) and will be ignored.
|
||||
</summary>
|
||||
<param name="version">Version we couldnt find</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.RollingBack(System.Int64)">
|
||||
<summary>
|
||||
Log that we are rolling back to version
|
||||
</summary>
|
||||
<param name="originalVersion">
|
||||
version
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.ApplyingDBChange(System.String)">
|
||||
<summary>
|
||||
Log a Sql statement that changes the schema or content of the database as part of a migration
|
||||
</summary>
|
||||
<remarks>
|
||||
SELECT statements should not be logged using this method as they do not alter the data or schema of the
|
||||
database.
|
||||
</remarks>
|
||||
<param name="sql">The Sql statement to log</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Exception(System.Int64,System.String,System.Exception)">
|
||||
<summary>
|
||||
Log that we had an exception on a migration
|
||||
</summary>
|
||||
<param name="version">The version of the migration that caused the exception.</param>
|
||||
<param name="migrationName">The name of the migration that caused the exception.</param>
|
||||
<param name="ex">The exception itself</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Exception(System.String,System.Exception)">
|
||||
<summary>
|
||||
Log that we had an exception on a migration
|
||||
</summary>
|
||||
<param name="message">An informative message to show to the user.</param>
|
||||
<param name="ex">The exception itself</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Finished(System.Collections.Generic.List{System.Int64},System.Int64)">
|
||||
<summary>
|
||||
Log that we have finished a migration
|
||||
</summary>
|
||||
<param name="currentVersion">List of versions with which we started</param>
|
||||
<param name="finalVersion">Final Version</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Log(System.String,System.Object[])">
|
||||
<summary>
|
||||
Log a message
|
||||
</summary>
|
||||
<param name="format">The format string ("{0}, blabla {1}").</param>
|
||||
<param name="args">Parameters to apply to the format string.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Warn(System.String,System.Object[])">
|
||||
<summary>
|
||||
Log a Warning
|
||||
</summary>
|
||||
<param name="format">The format string ("{0}, blabla {1}").</param>
|
||||
<param name="args">Parameters to apply to the format string.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ILogger.Trace(System.String,System.Object[])">
|
||||
<summary>
|
||||
Log a Trace Message
|
||||
</summary>
|
||||
<param name="format">The format string ("{0}, blabla {1}").</param>
|
||||
<param name="args">Parameters to apply to the format string.</param>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.ColumnProperty">
|
||||
<summary>
|
||||
Represents a table column properties.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.Null">
|
||||
<summary>
|
||||
Null is allowable
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.NotNull">
|
||||
<summary>
|
||||
Null is not allowable
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.Identity">
|
||||
<summary>
|
||||
Identity column, autoinc
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.Unique">
|
||||
<summary>
|
||||
Unique Column
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.Indexed">
|
||||
<summary>
|
||||
Indexed Column
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.Unsigned">
|
||||
<summary>
|
||||
Unsigned Column
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.ForeignKey">
|
||||
<summary>
|
||||
Foreign Key
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.PrimaryKey">
|
||||
<summary>
|
||||
Primary Key
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Framework.ColumnProperty.PrimaryKeyWithIdentity">
|
||||
<summary>
|
||||
Primary key. Make the column a PrimaryKey and unsigned
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.ITransformationProvider">
|
||||
<summary>
|
||||
The main interface to use in Migrations to make changes on a database schema.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
<param name="size">The precision or size of the column</param>
|
||||
<param name="property">Properties that can be ORed together</param>
|
||||
<param name="defaultValue">The default value of the column if no value is given in a query</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
<param name="size">The precision or size of the column</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
<param name="size">The precision or size of the column</param>
|
||||
<param name="property">Properties that can be ORed together</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,Migrator.Framework.ColumnProperty)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
<param name="property">Properties that can be ORed together</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Object)">
|
||||
<summary>
|
||||
Add a column to an existing table with the default column size.
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">The name of the new column</param>
|
||||
<param name="type">The data type for the new columnd</param>
|
||||
<param name="defaultValue">The default value of the column if no value is given in a query</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddColumn(System.String,Migrator.Framework.Column)">
|
||||
<summary>
|
||||
Add a column to an existing table
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">An instance of a <see cref="T:Migrator.Framework.Column">Column</see> with the specified properties</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddForeignKey(System.String,System.String,System.String[],System.String,System.String[])">
|
||||
<summary>
|
||||
Add a foreign key constraint
|
||||
</summary>
|
||||
<param name="name">The name of the foreign key. e.g. FK_TABLE_REF</param>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumns">The columns that are the foreign keys (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary keys (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumns">The columns that are the primary keys (eg. PK_id)</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddForeignKey(System.String,System.String,System.String[],System.String,System.String[],Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Add a foreign key constraint
|
||||
</summary>
|
||||
<param name="name">The name of the foreign key. e.g. FK_TABLE_REF</param>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumns">The columns that are the foreign keys (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary keys (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumns">The columns that are the primary keys (eg. PK_id)</param>
|
||||
<param name="constraint">Constraint parameters</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddForeignKey(System.String,System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Add a foreign key constraint
|
||||
</summary>
|
||||
|
||||
<param name="name">The name of the foreign key. e.g. FK_TABLE_REF</param>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumn">The column that is the foreign key (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary keys (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumn">The column that is the primary key (eg. PK_id)</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddForeignKey(System.String,System.String,System.String,System.String,System.String,Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Add a foreign key constraint
|
||||
</summary>
|
||||
<param name="name">The name of the foreign key. e.g. FK_TABLE_REF</param>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumn">The column that is the foreign key (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumn">The column that is the primary key (eg. PK_id)</param>
|
||||
<param name="constraint">Constraint parameters</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumn">The column that is the foreign key (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumn">The column that is the primary key (eg. PK_id)</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String[],System.String,System.String[])">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumns">The columns that are the foreign keys (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumns">The column that is the primary key (eg. PK_id)</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String[],System.String,System.String[],Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumns">The columns that are the foreign keys (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumns">The columns that are the primary keys (eg. PK_id)</param>
|
||||
<param name="constraint">Constraint parameters</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String,System.String,System.String,Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="foreignColumn">The columns that are the foreign keys (eg. FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="primaryColumn">The column that is the primary key (eg. PK_id)</param>
|
||||
<param name="constraint">Constraint parameters</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String)">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
|
||||
The current expectations are that there is a column named the same as the foreignTable present in
|
||||
the table. This is subject to change because I think it's not a good convention.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GenerateForeignKey(System.String,System.String,Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Add a foreign key constraint when you don't care about the name of the constraint.
|
||||
Warning: This will prevent you from dropping the constraint since you won't know the name.
|
||||
|
||||
The current expectations are that there is a column named the same as the foreignTable present in
|
||||
the table. This is subject to change because I think it's not a good convention.
|
||||
</summary>
|
||||
<param name="foreignTable">The table that the foreign key will be created in (eg. Table.FK_id)</param>
|
||||
<param name="primaryTable">The table that holds the primary key (eg. Table.PK_id)</param>
|
||||
<param name="constraint"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddPrimaryKey(System.String,System.String,System.String[])">
|
||||
<summary>
|
||||
Add a primary key to a table
|
||||
</summary>
|
||||
<param name="name">The name of the primary key to add.</param>
|
||||
<param name="table">The name of the table that will get the primary key.</param>
|
||||
<param name="columns">The name of the column or columns that are in the primary key.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddUniqueConstraint(System.String,System.String,System.String[])">
|
||||
<summary>
|
||||
Add a constraint to a table
|
||||
</summary>
|
||||
<param name="name">The name of the constraint to add.</param>
|
||||
<param name="table">The name of the table that will get the constraint</param>
|
||||
<param name="columns">The name of the column or columns that will get the constraint.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddCheckConstraint(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Add a constraint to a table
|
||||
</summary>
|
||||
<param name="name">The name of the constraint to add.</param>
|
||||
<param name="table">The name of the table that will get the constraint</param>
|
||||
<param name="checkSql">The check constraint definition.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddTable(System.String,Migrator.Framework.Column[])">
|
||||
<summary>
|
||||
Add a table
|
||||
</summary>
|
||||
<param name="name">The name of the table to add.</param>
|
||||
<param name="columns">The columns that are part of the table.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.AddTable(System.String,System.String,Migrator.Framework.Column[])">
|
||||
<summary>
|
||||
Add a table
|
||||
</summary>
|
||||
<param name="name">The name of the table to add.</param>
|
||||
<param name="engine">The name of the database engine to use. (MySQL)</param>
|
||||
<param name="columns">The columns that are part of the table.</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.BeginTransaction">
|
||||
<summary>
|
||||
Start a transction
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ChangeColumn(System.String,Migrator.Framework.Column)">
|
||||
<summary>
|
||||
Change the definition of an existing column.
|
||||
</summary>
|
||||
<param name="table">The name of the table that will get the new column</param>
|
||||
<param name="column">An instance of a <see cref="T:Migrator.Framework.Column">Column</see> with the specified properties and the name of an existing column</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ColumnExists(System.String,System.String)">
|
||||
<summary>
|
||||
Check to see if a column exists
|
||||
</summary>
|
||||
<param name="table"></param>
|
||||
<param name="column"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Commit">
|
||||
<summary>
|
||||
Commit the running transction
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ConstraintExists(System.String,System.String)">
|
||||
<summary>
|
||||
Check to see if a constraint exists
|
||||
</summary>
|
||||
<param name="name">The name of the constraint</param>
|
||||
<param name="table">The table that the constraint lives on.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.PrimaryKeyExists(System.String,System.String)">
|
||||
<summary>
|
||||
Check to see if a primary key constraint exists on the table
|
||||
</summary>
|
||||
<param name="name">The name of the primary key</param>
|
||||
<param name="table">The table that the constraint lives on.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ExecuteNonQuery(System.String)">
|
||||
<summary>
|
||||
Execute an arbitrary SQL query
|
||||
</summary>
|
||||
<param name="sql">The SQL to execute.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ExecuteQuery(System.String)">
|
||||
<summary>
|
||||
Execute an arbitrary SQL query
|
||||
</summary>
|
||||
<param name="sql">The SQL to execute.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ExecuteScalar(System.String)">
|
||||
<summary>
|
||||
Execute an arbitrary SQL query
|
||||
</summary>
|
||||
<param name="sql">The SQL to execute.</param>
|
||||
<returns>A single value that is returned.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GetColumns(System.String)">
|
||||
<summary>
|
||||
Get the information about the columns in a table
|
||||
</summary>
|
||||
<param name="table">The table name that you want the columns for.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GetColumnByName(System.String,System.String)">
|
||||
<summary>
|
||||
Get information about a single column in a table
|
||||
</summary>
|
||||
<param name="table">The table name that you want the columns for.</param>
|
||||
<param name="column">The column name for which you want information.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GetTables">
|
||||
<summary>
|
||||
Get the names of all of the tables
|
||||
</summary>
|
||||
<returns>The names of all the tables.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Insert(System.String,System.String[],System.Object[])">
|
||||
<summary>
|
||||
Insert data into a table
|
||||
</summary>
|
||||
<param name="table">The table that will get the new data</param>
|
||||
<param name="columns">The names of the columns</param>
|
||||
<param name="values">The values in the same order as the columns</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Delete(System.String,System.String[],System.String[])">
|
||||
<summary>
|
||||
Delete data from a table
|
||||
</summary>
|
||||
<param name="table">The table that will have the data deleted</param>
|
||||
<param name="columns">The names of the columns used in a where clause</param>
|
||||
<param name="values">The values in the same order as the columns</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Delete(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Delete data from a table
|
||||
</summary>
|
||||
<param name="table">The table that will have the data deleted</param>
|
||||
<param name="whereColumn">The name of the column used in a where clause</param>
|
||||
<param name="whereValue">The value for the where clause</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.MigrationApplied(System.Int64)">
|
||||
<summary>
|
||||
Marks a Migration version number as having been applied
|
||||
</summary>
|
||||
<param name="version">The version number of the migration that was applied</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.MigrationUnApplied(System.Int64)">
|
||||
<summary>
|
||||
Marks a Migration version number as having been rolled back from the database
|
||||
</summary>
|
||||
<param name="version">The version number of the migration that was removed</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RemoveColumn(System.String,System.String)">
|
||||
<summary>
|
||||
Remove an existing column from a table
|
||||
</summary>
|
||||
<param name="table">The name of the table to remove the column from</param>
|
||||
<param name="column">The column to remove</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RemoveForeignKey(System.String,System.String)">
|
||||
<summary>
|
||||
Remove an existing foreign key constraint
|
||||
</summary>
|
||||
<param name="table">The table that contains the foreign key.</param>
|
||||
<param name="name">The name of the foreign key to remove</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RemoveConstraint(System.String,System.String)">
|
||||
<summary>
|
||||
Remove an existing constraint
|
||||
</summary>
|
||||
<param name="table">The table that contains the foreign key.</param>
|
||||
<param name="name">The name of the constraint to remove</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RemoveTable(System.String)">
|
||||
<summary>
|
||||
Remove an existing table
|
||||
</summary>
|
||||
<param name="tableName">The name of the table</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RenameTable(System.String,System.String)">
|
||||
<summary>
|
||||
Rename an existing table
|
||||
</summary>
|
||||
<param name="oldName">The old name of the table</param>
|
||||
<param name="newName">The new name of the table</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.RenameColumn(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Rename an existing table
|
||||
</summary>
|
||||
<param name="tableName">The name of the table</param>
|
||||
<param name="oldColumnName">The old name of the column</param>
|
||||
<param name="newColumnName">The new name of the column</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Rollback">
|
||||
<summary>
|
||||
Rollback the currently running transaction.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Select(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Get values from a table
|
||||
</summary>
|
||||
<param name="what">The columns to select</param>
|
||||
<param name="from">The table to select from</param>
|
||||
<param name="where">The where clause to limit the selection</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Select(System.String,System.String)">
|
||||
<summary>
|
||||
Get values from a table
|
||||
</summary>
|
||||
<param name="what">The columns to select</param>
|
||||
<param name="from">The table to select from</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.SelectScalar(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Get a single value from a table
|
||||
</summary>
|
||||
<param name="what">The columns to select</param>
|
||||
<param name="from">The table to select from</param>
|
||||
<param name="where"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.SelectScalar(System.String,System.String)">
|
||||
<summary>
|
||||
Get a single value from a table
|
||||
</summary>
|
||||
<param name="what">The columns to select</param>
|
||||
<param name="from">The table to select from</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.TableExists(System.String)">
|
||||
<summary>
|
||||
Check if a table already exists
|
||||
</summary>
|
||||
<param name="tableName">The name of the table that you want to check on.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Update(System.String,System.String[],System.String[])">
|
||||
<summary>
|
||||
Update the values in a table
|
||||
</summary>
|
||||
<param name="table">The name of the table to update</param>
|
||||
<param name="columns">The names of the columns.</param>
|
||||
<param name="columnValues">The values for the columns in the same order as the names.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Update(System.String,System.String[],System.String[],System.String)">
|
||||
<summary>
|
||||
Update the values in a table
|
||||
</summary>
|
||||
<param name="table">The name of the table to update</param>
|
||||
<param name="columns">The names of the columns.</param>
|
||||
<param name="values">The values for the columns in the same order as the names.</param>
|
||||
<param name="where">A where clause to limit the update</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.GetCommand">
|
||||
<summary>
|
||||
Get a command instance
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.ExecuteSchemaBuilder(Migrator.Framework.SchemaBuilder.SchemaBuilder)">
|
||||
<summary>
|
||||
Execute a schema builder
|
||||
</summary>
|
||||
<param name="schemaBuilder"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.QuoteColumnNamesIfRequired(System.String[])">
|
||||
<summary>
|
||||
Quote a multiple column names, if required
|
||||
</summary>
|
||||
<param name="columnNames"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.QuoteColumnNameIfRequired(System.String)">
|
||||
<summary>
|
||||
Quaote column if required
|
||||
</summary>
|
||||
<param name="name"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.QuoteTableNameIfRequired(System.String)">
|
||||
<summary>
|
||||
Quote table name if required
|
||||
</summary>
|
||||
<param name="name"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.ITransformationProvider.Encode(System.Guid)">
|
||||
<summary>
|
||||
Encodes a guid value as a string, suitable for inclusion in sql statement
|
||||
</summary>
|
||||
<param name="guid"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.ITransformationProvider.Item(System.String)">
|
||||
<summary>
|
||||
Get this provider or a NoOp provider if you are not running in the context of 'provider'.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.ITransformationProvider.AppliedMigrations">
|
||||
<summary>
|
||||
The list of Migrations currently applied to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.ITransformationProvider.ConnectionString">
|
||||
<summary>
|
||||
Connection string to the database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.ITransformationProvider.Logger">
|
||||
<summary>
|
||||
Logger used to log details of operations performed during migration
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.MigrationAttribute">
|
||||
<summary>
|
||||
Describe a migration
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.MigrationAttribute.#ctor(System.Int64)">
|
||||
<summary>
|
||||
Describe the migration
|
||||
</summary>
|
||||
<param name="version">The unique version of the migration.</param>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.MigrationAttribute.Version">
|
||||
<summary>
|
||||
The version reflected by the migration
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.MigrationAttribute.Ignore">
|
||||
<summary>
|
||||
Set to <c>true</c> to ignore this migration.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.Loggers.IAttachableLogger">
|
||||
<summary>
|
||||
ILogger interface.
|
||||
Implicit in this interface is that the logger will delegate actual
|
||||
logging to the <see cref="T:Migrator.Framework.Loggers.ILogWriter"/>(s) that have been attached
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Loggers.IAttachableLogger.Attach(Migrator.Framework.Loggers.ILogWriter)">
|
||||
<summary>
|
||||
Attach an <see cref="T:Migrator.Framework.Loggers.ILogWriter"/>
|
||||
</summary>
|
||||
<param name="writer"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Loggers.IAttachableLogger.Detach(Migrator.Framework.Loggers.ILogWriter)">
|
||||
<summary>
|
||||
Detach an <see cref="T:Migrator.Framework.Loggers.ILogWriter"/>
|
||||
</summary>
|
||||
<param name="writer"></param>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.Migration">
|
||||
<summary>
|
||||
A migration is a group of transformation applied to the database schema
|
||||
(or sometimes data) to port the database from one version to another.
|
||||
The <c>Up()</c> method must apply the modifications (eg.: create a table)
|
||||
and the <c>Down()</c> method must revert, or rollback the modifications
|
||||
(eg.: delete a table).
|
||||
<para>
|
||||
Each migration must be decorated with the <c>[Migration(0)]</c> attribute.
|
||||
Each migration number (0) must be unique, or else a
|
||||
<c>DuplicatedVersionException</c> will be trown.
|
||||
</para>
|
||||
<para>
|
||||
All migrations are executed inside a transaction. If an exception is
|
||||
thrown, the transaction will be rolledback and transformations wont be
|
||||
applied.
|
||||
</para>
|
||||
<para>
|
||||
It is best to keep a limited number of transformation inside a migration
|
||||
so you can easely move from one version of to another with fine grain
|
||||
modifications.
|
||||
You should give meaningful name to the migration class and prepend the
|
||||
migration number to the filename so they keep ordered, eg.:
|
||||
<c>002_CreateTableTest.cs</c>.
|
||||
</para>
|
||||
<para>
|
||||
Use the <c>Database</c> property to apply transformation and the
|
||||
<c>Logger</c> property to output informations in the console (or other).
|
||||
For more details on transformations see
|
||||
<see cref="T:Migrator.Framework.ITransformationProvider">ITransformationProvider</see>.
|
||||
</para>
|
||||
</summary>
|
||||
<example>
|
||||
The following migration creates a new Customer table.
|
||||
(File <c>003_AddCustomerTable.cs</c>)
|
||||
<code>
|
||||
[Migration(3)]
|
||||
public class AddCustomerTable : Migration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
Database.AddTable("Customer",
|
||||
new Column("Name", typeof(string), 50),
|
||||
new Column("Address", typeof(string), 100)
|
||||
);
|
||||
}
|
||||
public override void Down()
|
||||
{
|
||||
Database.RemoveTable("Customer");
|
||||
}
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.IMigration.Up">
|
||||
<summary>
|
||||
Defines tranformations to port the database to the current version.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.IMigration.AfterUp">
|
||||
<summary>
|
||||
This is run after the Up transaction has been committed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.IMigration.Down">
|
||||
<summary>
|
||||
Defines transformations to revert things done in <c>Up</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.IMigration.AfterDown">
|
||||
<summary>
|
||||
This is run after the Down transaction has been committed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.IMigration.InitializeOnce(System.String[])">
|
||||
<summary>
|
||||
This gets called once on the first migration object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.IMigration.Database">
|
||||
<summary>
|
||||
Represents the database.
|
||||
<see cref="T:Migrator.Framework.ITransformationProvider"></see>.
|
||||
</summary>
|
||||
<seealso cref="T:Migrator.Framework.ITransformationProvider">Migration.Framework.ITransformationProvider</seealso>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Migration.Up">
|
||||
<summary>
|
||||
Defines tranformations to port the database to the current version.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Migration.AfterUp">
|
||||
<summary>
|
||||
This is run after the Up transaction has been committed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Migration.Down">
|
||||
<summary>
|
||||
Defines transformations to revert things done in <c>Up</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Migration.AfterDown">
|
||||
<summary>
|
||||
This is run after the Down transaction has been committed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Migration.InitializeOnce(System.String[])">
|
||||
<summary>
|
||||
This gets called once on the first migration object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Framework.Migration.Database">
|
||||
<summary>
|
||||
Represents the database.
|
||||
<see cref="T:Migrator.Framework.ITransformationProvider"></see>.
|
||||
</summary>
|
||||
<seealso cref="T:Migrator.Framework.ITransformationProvider">Migration.Framework.ITransformationProvider</seealso>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.Loggers.Logger">
|
||||
<summary>
|
||||
Text logger for the migration mediator
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.Loggers.ILogWriter">
|
||||
<summary>
|
||||
Handles writing a message to the log medium (i.e. file, console)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Loggers.ILogWriter.Write(System.String,System.Object[])">
|
||||
<summary>
|
||||
Write this message
|
||||
</summary>
|
||||
<param name="message"></param>
|
||||
<param name="args"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Loggers.ILogWriter.WriteLine(System.String,System.Object[])">
|
||||
<summary>
|
||||
Write this message, as a line
|
||||
</summary>
|
||||
<param name="message"></param>
|
||||
<param name="args"></param>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.Column">
|
||||
<summary>
|
||||
Represents a table column.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.StringUtils.ToHumanName(System.String)">
|
||||
<summary>
|
||||
Convert a classname to something more readable.
|
||||
ex.: CreateATable => Create a table
|
||||
</summary>
|
||||
<param name="className"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.StringUtils.ReplaceOnce(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
|
||||
</summary>
|
||||
<param name="template"></param>
|
||||
<param name="placeholder"></param>
|
||||
<param name="replacement"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.SchemaBuilder.SchemaBuilder.AddTable(System.String)">
|
||||
<summary>
|
||||
Adds a Table to be created to the Schema
|
||||
</summary>
|
||||
<param name="name">Table name to be created</param>
|
||||
<returns>SchemaBuilder for chaining</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.SchemaBuilder.SchemaBuilder.WithTable(System.String)">
|
||||
<summary>
|
||||
Reference an existing table.
|
||||
</summary>
|
||||
<param name="name">Table to reference</param>
|
||||
<returns>SchemaBuilder for chaining</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.SchemaBuilder.SchemaBuilder.RenameTable(System.String)">
|
||||
<summary>
|
||||
Reference an existing table.
|
||||
</summary>
|
||||
<param name="newName">Table to reference</param>
|
||||
<returns>SchemaBuilder for chaining</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.SchemaBuilder.SchemaBuilder.AddColumn(System.String)">
|
||||
<summary>
|
||||
Adds a Column to be created
|
||||
</summary>
|
||||
<param name="name">Column name to be added</param>
|
||||
<returns>IColumnOptions to restrict chaining</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Support.Inflector.Pluralize(System.String)">
|
||||
<summary>
|
||||
Return the plural of a word.
|
||||
</summary>
|
||||
<param name="word">The singular form</param>
|
||||
<returns>The plural form of <paramref name="word"/></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Support.Inflector.Singularize(System.String)">
|
||||
<summary>
|
||||
Return the singular of a word.
|
||||
</summary>
|
||||
<param name="word">The plural form</param>
|
||||
<returns>The singular form of <paramref name="word"/></returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Framework.Support.Inflector.Capitalize(System.String)">
|
||||
<summary>
|
||||
Capitalizes a word.
|
||||
</summary>
|
||||
<param name="word">The word to be capitalized.</param>
|
||||
<returns><paramref name="word"/> capitalized.</returns>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.JoiningTableTransformationProviderExtensions">
|
||||
<summary>
|
||||
A set of extension methods for the transformation provider to make it easier to
|
||||
build many-to-many joining tables (takes care of adding the joining table and foreign
|
||||
key constraints as necessary.
|
||||
<remarks>This functionality was useful when bootstrapping a number of projects a few years ago, but
|
||||
now that most changes are brown-field I'm thinking of removing these methods as it's easier to maintain
|
||||
code that creates the tables etc. directly within migration.</remarks>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Framework.MigrationException">
|
||||
<summary>
|
||||
Base class for migration errors.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -1,389 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Migrator.Providers</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Migrator.Providers.Dialect">
|
||||
<summary>
|
||||
Defines the implementations specific details for a particular database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.RegisterColumnType(System.Data.DbType,System.Int32,System.String)">
|
||||
<summary>
|
||||
Subclasses register a typename for the given type code and maximum
|
||||
column length. <c>$l</c> in the type name will be replaced by the column
|
||||
length (if appropriate)
|
||||
</summary>
|
||||
<param name="code">The typecode</param>
|
||||
<param name="capacity">Maximum length of database type</param>
|
||||
<param name="name">The database type name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.RegisterColumnType(System.Data.DbType,System.String)">
|
||||
<summary>
|
||||
Suclasses register a typename for the given type code. <c>$l</c> in the
|
||||
typename will be replaced by the column length (if appropriate).
|
||||
</summary>
|
||||
<param name="code">The typecode</param>
|
||||
<param name="name">The database type name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.GetTypeName(System.Data.DbType)">
|
||||
<summary>
|
||||
Get the name of the database type associated with the given
|
||||
</summary>
|
||||
<param name="type">The DbType</param>
|
||||
<returns>The database type name used by ddl.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.GetTypeName(System.Data.DbType,System.Int32)">
|
||||
<summary>
|
||||
Get the name of the database type associated with the given
|
||||
</summary>
|
||||
<param name="type">The DbType</param>
|
||||
<returns>The database type name used by ddl.</returns>
|
||||
<param name="length"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.GetTypeName(System.Data.DbType,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Get the name of the database type associated with the given
|
||||
</summary>
|
||||
<param name="type">The DbType</param>
|
||||
<returns>The database type name used by ddl.</returns>
|
||||
<param name="length"></param>
|
||||
<param name="precision"></param>
|
||||
<param name="scale"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.RegisterUnsignedCompatible(System.Data.DbType)">
|
||||
<summary>
|
||||
Subclasses register which DbTypes are unsigned-compatible (ie, available in signed and unsigned variants)
|
||||
</summary>
|
||||
<param name="type"></param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.Dialect.IsUnsignedCompatible(System.Data.DbType)">
|
||||
<summary>
|
||||
Determine if a particular database type has an unsigned variant
|
||||
</summary>
|
||||
<param name="type">The DbType</param>
|
||||
<returns>True if the database type has an unsigned variant, otherwise false</returns>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.SqlServer.SqlServerCeTransformationProvider">
|
||||
<summary>
|
||||
Migration transformations provider for Microsoft SQL Server Compact Edition.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.SqlServer.SqlServerTransformationProvider">
|
||||
<summary>
|
||||
Migration transformations provider for Microsoft SQL Server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.TransformationProvider">
|
||||
<summary>
|
||||
Base class for every transformation providers.
|
||||
A 'tranformation' is an operation that modifies the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddTable(System.String,Migrator.Framework.Column[])">
|
||||
<summary>
|
||||
Add a new table
|
||||
</summary>
|
||||
<param name="name">Table name</param>
|
||||
<param name="columns">Columns</param>
|
||||
<example>
|
||||
Adds the Test table with two columns:
|
||||
<code>
|
||||
Database.AddTable("Test",
|
||||
new Column("Id", typeof(int), ColumnProperty.PrimaryKey),
|
||||
new Column("Title", typeof(string), 100)
|
||||
);
|
||||
</code>
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddTable(System.String,System.String,Migrator.Framework.Column[])">
|
||||
<summary>
|
||||
Add a new table
|
||||
</summary>
|
||||
<param name="name">Table name</param>
|
||||
<param name="columns">Columns</param>
|
||||
<param name="engine">the database storage engine to use</param>
|
||||
<example>
|
||||
Adds the Test table with two columns:
|
||||
<code>
|
||||
Database.AddTable("Test", "INNODB",
|
||||
new Column("Id", typeof(int), ColumnProperty.PrimaryKey),
|
||||
new Column("Title", typeof(string), 100)
|
||||
);
|
||||
</code>
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
<summary>
|
||||
Add a new column to an existing table.
|
||||
</summary>
|
||||
<param name="table">Table to which to add the column</param>
|
||||
<param name="column">Column name</param>
|
||||
<param name="type">Date type of the column</param>
|
||||
<param name="size">Max length of the column</param>
|
||||
<param name="property">Properties of the column, see <see cref="T:Migrator.Framework.ColumnProperty">ColumnProperty</see>,</param>
|
||||
<param name="defaultValue">Default value</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType)">
|
||||
<summary>
|
||||
<see cref="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
AddColumn(string, string, Type, int, ColumnProperty, object)
|
||||
</see>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32)">
|
||||
<summary>
|
||||
<see cref="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
AddColumn(string, string, Type, int, ColumnProperty, object)
|
||||
</see>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,Migrator.Framework.ColumnProperty)">
|
||||
<summary>
|
||||
<see cref="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
AddColumn(string, string, Type, int, ColumnProperty, object)
|
||||
</see>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty)">
|
||||
<summary>
|
||||
<see cref="M:Migrator.Providers.TransformationProvider.AddColumn(System.String,System.String,System.Data.DbType,System.Int32,Migrator.Framework.ColumnProperty,System.Object)">
|
||||
AddColumn(string, string, Type, int, ColumnProperty, object)
|
||||
</see>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddPrimaryKey(System.String,System.String,System.String[])">
|
||||
<summary>
|
||||
Append a primary key to a table.
|
||||
</summary>
|
||||
<param name="name">Constraint name</param>
|
||||
<param name="table">Table name</param>
|
||||
<param name="columns">Primary column names</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.GenerateForeignKey(System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Guesses the name of the foreign key and add it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.GenerateForeignKey(System.String,System.String[],System.String,System.String[])">
|
||||
<summary>
|
||||
Guesses the name of the foreign key and add it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.GenerateForeignKey(System.String,System.String,System.String,System.String,Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Guesses the name of the foreign key and add it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.GenerateForeignKey(System.String,System.String[],System.String,System.String[],Migrator.Framework.ForeignKeyConstraint)">
|
||||
<summary>
|
||||
Guesses the name of the foreign key and add it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddForeignKey(System.String,System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Append a foreign key (relation) between two tables.
|
||||
tables.
|
||||
</summary>
|
||||
<param name="name">Constraint name</param>
|
||||
<param name="primaryTable">Table name containing the primary key</param>
|
||||
<param name="primaryColumn">Primary key column name</param>
|
||||
<param name="refTable">Foreign table name</param>
|
||||
<param name="refColumn">Foreign column name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.AddForeignKey(System.String,System.String,System.String[],System.String,System.String[])">
|
||||
<summary>
|
||||
<see cref="M:Migrator.Framework.ITransformationProvider.AddForeignKey(System.String,System.String,System.String,System.String,System.String)">
|
||||
AddForeignKey(string, string, string, string, string)
|
||||
</see>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.ConstraintExists(System.String,System.String)">
|
||||
<summary>
|
||||
Determines if a constraint exists.
|
||||
</summary>
|
||||
<param name="name">Constraint name</param>
|
||||
<param name="table">Table owning the constraint</param>
|
||||
<returns><c>true</c> if the constraint exists.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.ExecuteQuery(System.String)">
|
||||
<summary>
|
||||
Execute an SQL query returning results.
|
||||
</summary>
|
||||
<param name="sql">The SQL command.</param>
|
||||
<returns>A data iterator, <see cref="T:System.Data.IDataReader">IDataReader</see>.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.BeginTransaction">
|
||||
<summary>
|
||||
Starts a transaction. Called by the migration mediator.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.Rollback">
|
||||
<summary>
|
||||
Rollback the current migration. Called by the migration mediator.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.Commit">
|
||||
<summary>
|
||||
Commit the current transaction. Called by the migrations mediator.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.MigrationApplied(System.Int64)">
|
||||
<summary>
|
||||
Marks a Migration version number as having been applied
|
||||
</summary>
|
||||
<param name="version">The version number of the migration that was applied</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TransformationProvider.MigrationUnApplied(System.Int64)">
|
||||
<summary>
|
||||
Marks a Migration version number as having been rolled back from the database
|
||||
</summary>
|
||||
<param name="version">The version number of the migration that was removed</param>
|
||||
</member>
|
||||
<member name="P:Migrator.Providers.TransformationProvider.Logger">
|
||||
<summary>
|
||||
Returns the event logger
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Providers.TransformationProvider.AppliedMigrations">
|
||||
<summary>
|
||||
The list of Migrations currently applied to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.NoOpTransformationProvider">
|
||||
<summary>
|
||||
No Op (Null Object Pattern) implementation of the ITransformationProvider
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.ColumnPropertiesMapper">
|
||||
<summary>
|
||||
This is basically a just a helper base class
|
||||
per-database implementors may want to override ColumnSql
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Providers.ColumnPropertiesMapper.type">
|
||||
<summary>The SQL type</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Providers.ColumnPropertiesMapper.name">
|
||||
<summary>The name of the column</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Providers.ColumnPropertiesMapper.columnSql">
|
||||
<summary>
|
||||
the type of the column
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Providers.ColumnPropertiesMapper.indexed">
|
||||
<summary>
|
||||
Sql if This column is Indexed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Migrator.Providers.ColumnPropertiesMapper.defaultVal">
|
||||
<summary>
|
||||
Sql if this column has a default value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Providers.ColumnPropertiesMapper.ColumnSql">
|
||||
<summary>
|
||||
The sql for this column, override in database-specific implementation classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.TypeNames">
|
||||
<summary>
|
||||
This class maps a DbType to names.
|
||||
</summary>
|
||||
<remarks>
|
||||
Associations may be marked with a capacity. Calling the <c>Get()</c>
|
||||
method with a type and actual size n will return the associated
|
||||
name with smallest capacity >= n, if available and an unmarked
|
||||
default type otherwise.
|
||||
Eg, setting
|
||||
<code>
|
||||
Names.Put(DbType, "TEXT" );
|
||||
Names.Put(DbType, 255, "VARCHAR($l)" );
|
||||
Names.Put(DbType, 65534, "LONGVARCHAR($l)" );
|
||||
</code>
|
||||
will give you back the following:
|
||||
<code>
|
||||
Names.Get(DbType) // --> "TEXT" (default)
|
||||
Names.Get(DbType,100) // --> "VARCHAR(100)" (100 is in [0:255])
|
||||
Names.Get(DbType,1000) // --> "LONGVARCHAR(1000)" (100 is in [256:65534])
|
||||
Names.Get(DbType,100000) // --> "TEXT" (default)
|
||||
</code>
|
||||
On the other hand, simply putting
|
||||
<code>
|
||||
Names.Put(DbType, "VARCHAR($l)" );
|
||||
</code>
|
||||
would result in
|
||||
<code>
|
||||
Names.Get(DbType) // --> "VARCHAR($l)" (will cause trouble)
|
||||
Names.Get(DbType,100) // --> "VARCHAR(100)"
|
||||
Names.Get(DbType,1000) // --> "VARCHAR(1000)"
|
||||
Names.Get(DbType,10000) // --> "VARCHAR(10000)"
|
||||
</code>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TypeNames.Get(System.Data.DbType)">
|
||||
<summary>
|
||||
Get default type name for specified type
|
||||
</summary>
|
||||
<param name="typecode">the type key</param>
|
||||
<returns>the default type name associated with the specified key</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TypeNames.Get(System.Data.DbType,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Get the type name specified type and size
|
||||
</summary>
|
||||
<param name="typecode">the type key</param>
|
||||
<param name="size">the SQL length </param>
|
||||
<param name="scale">the SQL scale </param>
|
||||
<param name="precision">the SQL precision </param>
|
||||
<returns>
|
||||
The associated name with smallest capacity >= size if available and the
|
||||
default type name otherwise
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TypeNames.Put(System.Data.DbType,System.Int32,System.String)">
|
||||
<summary>
|
||||
Set a type name for specified type key and capacity
|
||||
</summary>
|
||||
<param name="typecode">the type key</param>
|
||||
<param name="capacity">the (maximum) type size/length</param>
|
||||
<param name="value">The associated name</param>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.TypeNames.Put(System.Data.DbType,System.String)">
|
||||
<summary>
|
||||
|
||||
</summary>
|
||||
<param name="typecode"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.PostgreSQL.PostgreSQLTransformationProvider">
|
||||
<summary>
|
||||
Migration transformations provider for PostgreSql (using NPGSql .Net driver)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.Mysql.MySqlTransformationProvider">
|
||||
<summary>
|
||||
Summary description for MySqlTransformationProvider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Providers.SQLite.SQLiteTransformationProvider">
|
||||
<summary>
|
||||
Summary description for SQLiteTransformationProvider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.SQLite.SQLiteTransformationProvider.ParseSqlForColumnNames(System.String)">
|
||||
<summary>
|
||||
Turn something like 'columnName INTEGER NOT NULL' into just 'columnName'
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Providers.SQLite.SQLiteTransformationProvider.ExtractNameFromColumnDef(System.String)">
|
||||
<summary>
|
||||
Name is the first value before the space.
|
||||
</summary>
|
||||
<param name="columnDef"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -1,124 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Migrator</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Migrator.DuplicatedVersionException">
|
||||
<summary>
|
||||
Exception thrown when a migration number is not unique.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.ProviderFactory">
|
||||
<summary>
|
||||
Handles loading Provider implementations
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.MigrateAnywhere">
|
||||
<summary>
|
||||
Description of MigrateAnywhere.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.BaseMigrate.NextMigration">
|
||||
<summary>
|
||||
Finds the next migration available to be applied. Only returns
|
||||
migrations that have NOT already been applied.
|
||||
</summary>
|
||||
<returns>The migration number of the next available Migration.</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.BaseMigrate.PreviousMigration">
|
||||
<summary>
|
||||
Finds the previous migration that has been applied. Only returns
|
||||
migrations that HAVE already been applied.
|
||||
</summary>
|
||||
<returns>The most recently applied Migration.</returns>
|
||||
</member>
|
||||
<member name="T:Migrator.IrreversibleMigrationException">
|
||||
<summary>
|
||||
Exception thrown in a migration <c>Down()</c> method
|
||||
when changes can't be undone.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.Migrator">
|
||||
<summary>
|
||||
Migrations mediator.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Migrator.MigrateToLastVersion">
|
||||
<summary>
|
||||
Run all migrations up to the latest. Make no changes to database if
|
||||
dryrun is true.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.Migrator.MigrateTo(System.Int64)">
|
||||
<summary>
|
||||
Migrate the database to a specific version.
|
||||
Runs all migration between the actual version and the
|
||||
specified version.
|
||||
If <c>version</c> is greater then the current version,
|
||||
the <c>Up()</c> method will be invoked.
|
||||
If <c>version</c> lower then the current version,
|
||||
the <c>Down()</c> method of previous migration will be invoked.
|
||||
If <c>dryrun</c> is set, don't write any changes to the database.
|
||||
</summary>
|
||||
<param name="version">The version that must became the current one</param>
|
||||
</member>
|
||||
<member name="P:Migrator.Migrator.MigrationsTypes">
|
||||
<summary>
|
||||
Returns registered migration <see cref="T:System.Type">types</see>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Migrator.AppliedMigrations">
|
||||
<summary>
|
||||
Returns the current migrations applied to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.Migrator.Logger">
|
||||
<summary>
|
||||
Get or set the event logger.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.MigrationLoader">
|
||||
<summary>
|
||||
Handles inspecting code to find all of the Migrations in assemblies and reading
|
||||
other metadata such as the last revision, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Migrator.MigrationLoader.CheckForDuplicatedVersion">
|
||||
<summary>
|
||||
Check for duplicated version in migrations.
|
||||
</summary>
|
||||
<exception cref="M:Migrator.MigrationLoader.CheckForDuplicatedVersion">CheckForDuplicatedVersion</exception>
|
||||
</member>
|
||||
<member name="M:Migrator.MigrationLoader.GetMigrationTypes(System.Reflection.Assembly)">
|
||||
<summary>
|
||||
Collect migrations in one <c>Assembly</c>.
|
||||
</summary>
|
||||
<param name="asm">The <c>Assembly</c> to browse.</param>
|
||||
<returns>The migrations collection</returns>
|
||||
</member>
|
||||
<member name="M:Migrator.MigrationLoader.GetMigrationVersion(System.Type)">
|
||||
<summary>
|
||||
Returns the version of the migration
|
||||
<see cref="T:Migrator.Framework.MigrationAttribute">MigrationAttribute</see>.
|
||||
</summary>
|
||||
<param name="t">Migration type.</param>
|
||||
<returns>Version number sepcified in the attribute</returns>
|
||||
</member>
|
||||
<member name="P:Migrator.MigrationLoader.MigrationsTypes">
|
||||
<summary>
|
||||
Returns registered migration <see cref="T:System.Type">types</see>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Migrator.MigrationLoader.LastVersion">
|
||||
<summary>
|
||||
Returns the last version of the migrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Migrator.MigrationTypeComparer">
|
||||
<summary>
|
||||
Comparer of Migration by their version attribute.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
BIN
Libraries/nunit/nunit-agent-x86.exe
Normal file
BIN
Libraries/nunit/nunit-agent-x86.exe
Normal file
Binary file not shown.
37
Libraries/nunit/nunit-agent.exe.config
Normal file
37
Libraries/nunit/nunit-agent.exe.config
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<!--
|
||||
The .NET 2.0 build of nunit-agent only
|
||||
runs under .NET 2.0 or higher. The setting
|
||||
useLegacyV2RuntimeActivationPolicy only applies
|
||||
under .NET 4.0 and permits use of mixed mode
|
||||
assemblies, which would otherwise not load
|
||||
correctly.
|
||||
-->
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<!--
|
||||
Nunit-agent is normally run by the console or gui
|
||||
runners and not independently. In normal usage,
|
||||
the runner specifies which runtime should be used.
|
||||
|
||||
Do NOT add any supportedRuntime elements here,
|
||||
since they may prevent the runner from controlling
|
||||
the runtime that is used!
|
||||
-->
|
||||
</startup>
|
||||
|
||||
<runtime>
|
||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
|
||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||
<loadFromRemoteSources enabled="true" />
|
||||
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
</configuration>
|
BIN
Libraries/nunit/nunit-console-runner.dll
Normal file
BIN
Libraries/nunit/nunit-console-runner.dll
Normal file
Binary file not shown.
BIN
Libraries/nunit/nunit-console-x86.exe
Normal file
BIN
Libraries/nunit/nunit-console-x86.exe
Normal file
Binary file not shown.
31
Libraries/nunit/nunit-console-x86.exe.config
Normal file
31
Libraries/nunit/nunit-console-x86.exe.config
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<!--
|
||||
The .NET 2.0 build of the console runner only
|
||||
runs under .NET 2.0 or higher. The setting
|
||||
useLegacyV2RuntimeActivationPolicy only applies
|
||||
under .NET 4.0 and permits use of mixed mode
|
||||
assemblies, which would otherwise not load
|
||||
correctly.
|
||||
-->
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||
<supportedRuntime version="v2.0.50727" />
|
||||
<supportedRuntime version="v4.0.30319" />
|
||||
</startup>
|
||||
|
||||
<runtime>
|
||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
|
||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||
<loadFromRemoteSources enabled="true" />
|
||||
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
</configuration>
|
BIN
Libraries/nunit/nunit.core.dll
Normal file
BIN
Libraries/nunit/nunit.core.dll
Normal file
Binary file not shown.
BIN
Libraries/nunit/nunit.core.interfaces.dll
Normal file
BIN
Libraries/nunit/nunit.core.interfaces.dll
Normal file
Binary file not shown.
BIN
Libraries/nunit/nunit.framework.dll
Normal file
BIN
Libraries/nunit/nunit.framework.dll
Normal file
Binary file not shown.
BIN
Libraries/nunit/nunit.util.dll
Normal file
BIN
Libraries/nunit/nunit.util.dll
Normal file
Binary file not shown.
23
build.ps1
23
build.ps1
@ -1,3 +1,8 @@
|
||||
param (
|
||||
[switch]$runTests = $false
|
||||
)
|
||||
|
||||
|
||||
$msBuild = 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
|
||||
$outputFolder = '.\_output'
|
||||
$testSearchPattern = '*.Test\bin\x86\Release'
|
||||
@ -26,6 +31,8 @@ Function CleanFolder($path)
|
||||
Write-Host Removing FluentValidation.Resources files
|
||||
get-childitem $path -File -Filter FluentValidation.resources.dll -recurse | foreach ($_) {remove-item $_.fullname}
|
||||
|
||||
get-childitem $path -File -Filter app.config | foreach ($_) {remove-item $_.fullname}
|
||||
|
||||
Write-Host Removing Empty folders
|
||||
while (Get-ChildItem $path -recurse | where {!@(Get-ChildItem -force $_.fullname)} | Test-Path) {
|
||||
Get-ChildItem $path -recurse | where {!@(Get-ChildItem -force $_.fullname)} | Remove-Item
|
||||
@ -47,7 +54,23 @@ Function PackageTests()
|
||||
}
|
||||
|
||||
CleanFolder $testPackageFolder
|
||||
|
||||
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
||||
|
||||
}
|
||||
|
||||
Build
|
||||
PackageTests
|
||||
|
||||
if($runTests)
|
||||
{
|
||||
$testFiles
|
||||
|
||||
get-childitem $testPackageFolder -File -Filter *test.dll | foreach ($_) {
|
||||
$testFiles = $testFiles + $_.FullName + " "
|
||||
|
||||
}
|
||||
|
||||
$nunitExe = '.\Libraries\nunit\nunit-console-x86.exe ' + $testFiles + ' /process:multiple /noxml'
|
||||
Invoke-Expression $nunitExe
|
||||
}
|
Loading…
Reference in New Issue
Block a user