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
Showing
8 changed files
with
315 additions
and
185 deletions.
There are no files selected for viewing
Submodule EntityFramework
updated
from 1c2369 to 564ac4
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
15 changes: 1 addition & 14 deletions
15
src/Npgsql.EntityFramework7/Migrations/CreateDatabaseOperation.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 |
---|---|---|
@@ -1,26 +1,13 @@ | ||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Collections.Generic; | ||
using JetBrains.Annotations; | ||
using Microsoft.Data.Entity; | ||
using Microsoft.Data.Entity.Relational.Migrations.Operations; | ||
using Microsoft.Data.Entity.Utilities; | ||
|
||
namespace Npgsql.EntityFramework7.Migrations | ||
{ | ||
public class CreateDatabaseOperation : MigrationOperation | ||
{ | ||
public CreateDatabaseOperation( | ||
[NotNull] string name, | ||
[CanBeNull] IReadOnlyDictionary<string, string> annotations = null) | ||
: base(annotations) | ||
{ | ||
Check.NotEmpty(name, nameof(name)); | ||
|
||
Name = name; | ||
} | ||
|
||
public virtual string Name { get; } | ||
public virtual string Name { get;[param: NotNull] set; } | ||
} | ||
} |
15 changes: 1 addition & 14 deletions
15
src/Npgsql.EntityFramework7/Migrations/DropDatabaseOperation.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 |
---|---|---|
@@ -1,26 +1,13 @@ | ||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Collections.Generic; | ||
using JetBrains.Annotations; | ||
using Microsoft.Data.Entity; | ||
using Microsoft.Data.Entity.Relational.Migrations.Operations; | ||
using Microsoft.Data.Entity.Utilities; | ||
|
||
namespace Npgsql.EntityFramework7.Migrations | ||
{ | ||
public class DropDatabaseOperation : MigrationOperation | ||
{ | ||
public DropDatabaseOperation( | ||
[NotNull] string name, | ||
[CanBeNull] IReadOnlyDictionary<string, string> annotations = null) | ||
: base(annotations) | ||
{ | ||
Check.NotEmpty(name, nameof(name)); | ||
|
||
Name = name; | ||
} | ||
|
||
public virtual string Name { get; } | ||
public virtual string Name { get;[param: NotNull] set; } | ||
} | ||
} |
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
Oops, something went wrong.