Skip to content

Commit fb21512

Browse files
Ja bist du narrischJa bist du narrisch
authored andcommitted
Minor changes
1 parent e05f506 commit fb21512

15 files changed

+38
-29
lines changed

src/Migrator.Tests/JoiningTableTransformationProviderExtensionsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Data;
2+
using DotNetProjects.Migrator.Framework;
23
using Migrator.Framework;
34
using NUnit.Framework;
45
using Rhino.Mocks;

src/Migrator.Tests/Providers/SQLiteTransformationProviderTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
#endregion
1313

14+
using DotNetProjects.Migrator.Framework;
1415
using DotNetProjects.Migrator.Providers.Impl.SQLite;
15-
using Migrator.Framework;
1616
using Migrator.Providers.SQLite;
1717
using Migrator.Tests.Settings;
1818
using NUnit.Framework;

src/Migrator.Tests/SchemaBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Data;
2+
using DotNetProjects.Migrator.Framework;
23
using Migrator.Framework;
34
using Migrator.Framework.SchemaBuilder;
45
using NUnit.Framework;
5-
using ForeignKeyConstraint = Migrator.Framework.ForeignKeyConstraint;
66

77
namespace Migrator.Tests
88
{
Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
1+
using Migrator.Framework;
2+
3+
namespace DotNetProjects.Migrator.Framework;
54

6-
namespace Migrator.Framework
7-
{
85
public class ForeignKeyConstraint : IDbField
96
{
107
public ForeignKeyConstraint()
118
{ }
129

1310
public ForeignKeyConstraint(string name, string table, string[] columns, string pkTable, string[] pkColumns)
1411
{
15-
this.Name = name;
16-
this.Table = table;
17-
this.Columns = columns;
18-
this.PkTable = pkTable;
19-
this.PkColumns = pkColumns;
12+
Name = name;
13+
Table = table;
14+
Columns = columns;
15+
PkTable = pkTable;
16+
PkColumns = pkColumns;
2017
}
2118

2219
public string Name { get; set; }
@@ -25,4 +22,3 @@ public ForeignKeyConstraint(string name, string table, string[] columns, string
2522
public string PkTable { get; set; }
2623
public string[] PkColumns { get; set; }
2724
}
28-
}
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
namespace Migrator.Framework
1+
namespace DotNetProjects.Migrator.Framework;
2+
3+
public enum ForeignKeyConstraintType
24
{
3-
public enum ForeignKeyConstraintType
4-
{
5-
Cascade,
6-
SetNull,
7-
NoAction,
8-
Restrict,
9-
SetDefault
10-
}
5+
Cascade,
6+
SetNull,
7+
NoAction,
8+
Restrict,
9+
SetDefault
1110
}

src/Migrator/Framework/ITransformationProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Data;
4+
using DotNetProjects.Migrator.Framework;
5+
using ForeignKeyConstraint = DotNetProjects.Migrator.Framework.ForeignKeyConstraint;
46

57
namespace Migrator.Framework
68
{

src/Migrator/Framework/JoiningTableTransformationProviderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Data;
33
using System.Linq;
44
using System.Text;
5+
using DotNetProjects.Migrator.Framework;
56
using Migrator.Framework.Support;
67

78
namespace Migrator.Framework

src/Migrator/Framework/SchemaBuilder/FluentColumn.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#endregion
1313

1414
using System.Data;
15+
using DotNetProjects.Migrator.Framework;
1516

1617
namespace Migrator.Framework.SchemaBuilder
1718
{
@@ -40,8 +41,8 @@ public DbType Type
4041
{
4142
get { return _inner.Type; }
4243
set { _inner.Type = value; }
43-
}
44-
44+
}
45+
4546
public MigratorDbType MigratorDbType
4647
{
4748
get { return _inner.MigratorDbType; }

src/Migrator/Framework/SchemaBuilder/IFluentColumn.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#endregion
1313

14+
using DotNetProjects.Migrator.Framework;
15+
1416
namespace Migrator.Framework.SchemaBuilder
1517
{
1618
public interface IFluentColumn : IColumn

src/Migrator/Framework/SchemaBuilder/SchemaBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using System;
1515
using System.Collections.Generic;
1616
using System.Data;
17+
using DotNetProjects.Migrator.Framework;
1718

1819
namespace Migrator.Framework.SchemaBuilder
1920
{

0 commit comments

Comments
 (0)