forked from julielerman/TEE14Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8ed581
commit 0c62488
Showing
26 changed files
with
191 additions
and
395 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
ContactManagementBC/ContactManagement.Infrastructure/App.config
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
...ManagementBC/ContactManagement.Infrastructure/Migrations/201410192005120_InitialCreate.cs
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
...agementBC/ContactManagement.Infrastructure/Migrations/201410200134182_SomethingChanged.cs
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...nt.Infrastructure/Migrations/201410302032476_RemovedBillingAddressFromContact.Designer.cs
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...tManagement.Infrastructure/Migrations/201410302032476_RemovedBillingAddressFromContact.cs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...201410192005120_InitialCreate.Designer.cs → ...201411040213492_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...ManagementBC/ContactManagement.Infrastructure/Migrations/201411040213492_InitialCreate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace CustomerManagement.Infrastructure.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
|
||
public partial class InitialCreate : DbMigration | ||
{ | ||
public override void Up() | ||
{ | ||
AddColumn("dbo.Contacts", "CreatedDate", c => c.DateTime(nullable: false)); | ||
AddColumn("dbo.Contacts", "ModifiedDate", c => c.DateTime(nullable: false)); | ||
} | ||
|
||
public override void Down() | ||
{ | ||
DropColumn("dbo.Contacts", "ModifiedDate"); | ||
DropColumn("dbo.Contacts", "CreatedDate"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...410200134182_SomethingChanged.Designer.cs → ...201411040217246_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
...ManagementBC/ContactManagement.Infrastructure/Migrations/201411040217246_InitialCreate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
namespace CustomerManagement.Infrastructure.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
|
||
public partial class InitialCreate : DbMigration | ||
{ | ||
public override void Up() | ||
{ | ||
CreateTable( | ||
"dbo.Contacts", | ||
c => new | ||
{ | ||
Id = c.Guid(nullable: false), | ||
Name_FirstName = c.String(), | ||
Name_LastName = c.String(), | ||
InitialDate = c.DateTime(nullable: false), | ||
Source = c.String(), | ||
PrimaryAddress_Street1 = c.String(), | ||
PrimaryAddress_Street2 = c.String(), | ||
PrimaryAddress_City = c.String(), | ||
PrimaryAddress_Region = c.String(), | ||
PrimaryAddress_Country = c.String(), | ||
PrimaryAddress_PostalCode = c.String(), | ||
RowVersion = c.Binary(), | ||
CreatedDate = c.DateTime(nullable: false), | ||
ModifiedDate = c.DateTime(nullable: false), | ||
}) | ||
.PrimaryKey(t => t.Id); | ||
|
||
} | ||
|
||
public override void Down() | ||
{ | ||
DropTable("dbo.Contacts"); | ||
} | ||
} | ||
} |
Oops, something went wrong.