-
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.
feat: Install the library of 'Pomelo.EntityFrameworkCore.MySql' in re…
…placement of the MySQL and restart migrations
- Loading branch information
1 parent
cc2aba7
commit 6669333
Showing
39 changed files
with
1,538 additions
and
7,842 deletions.
There are no files selected for viewing
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
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
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
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
33 changes: 33 additions & 0 deletions
33
...EquipmentAssignmentFormats/Domain/WarMaterialAndSpecialEquipmentAssignmentFormatWeapon.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,33 @@ | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using Armory.Armament.Weapons.Domain; | ||
|
||
namespace Armory.Formats.WarMaterialAndSpecialEquipmentAssignmentFormats.Domain | ||
{ | ||
public class WarMaterialAndSpecialEquipmentAssignmentFormatWeapon | ||
{ | ||
public int WarMaterialAndSpecialEquipmentAssignmentFormatId { get; set; } | ||
|
||
[ForeignKey("WarMaterialAndSpecialEquipmentAssignmentFormatId")] | ||
public WarMaterialAndSpecialEquipmentAssignmentFormat Format { get; set; } | ||
|
||
public string WeaponCode { get; set; } | ||
[ForeignKey("WeaponCode")] public Weapon Weapon { get; set; } | ||
|
||
public WarMaterialAndSpecialEquipmentAssignmentFormatWeapon( | ||
WarMaterialAndSpecialEquipmentAssignmentFormat format, string weaponCode) | ||
{ | ||
Format = format; | ||
WeaponCode = weaponCode; | ||
} | ||
|
||
private WarMaterialAndSpecialEquipmentAssignmentFormatWeapon() | ||
{ | ||
} | ||
|
||
public static WarMaterialAndSpecialEquipmentAssignmentFormatWeapon Create( | ||
WarMaterialAndSpecialEquipmentAssignmentFormat format, string weaponCode) | ||
{ | ||
return new WarMaterialAndSpecialEquipmentAssignmentFormatWeapon(format, weaponCode); | ||
} | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
...arMaterialDeliveryCertificateFormats/Domain/WarMaterialDeliveryCertificateFormatWeapon.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,33 @@ | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using Armory.Armament.Weapons.Domain; | ||
|
||
namespace Armory.Formats.WarMaterialDeliveryCertificateFormats.Domain | ||
{ | ||
public class WarMaterialDeliveryCertificateFormatWeapon | ||
{ | ||
public int WarMaterialDeliveryCertificateFormatId { get; set; } | ||
|
||
[ForeignKey("WarMaterialDeliveryCertificateFormatId")] | ||
public WarMaterialDeliveryCertificateFormat Format { get; set; } | ||
|
||
public string WeaponCode { get; set; } | ||
[ForeignKey("ExplosiveCode")] public Weapon Weapon { get; set; } | ||
|
||
public WarMaterialDeliveryCertificateFormatWeapon(WarMaterialDeliveryCertificateFormat format, | ||
string weaponCode) | ||
{ | ||
Format = format; | ||
WeaponCode = weaponCode; | ||
} | ||
|
||
private WarMaterialDeliveryCertificateFormatWeapon() | ||
{ | ||
} | ||
|
||
public static WarMaterialDeliveryCertificateFormatWeapon Create(WarMaterialDeliveryCertificateFormat format, | ||
string weaponCode) | ||
{ | ||
return new WarMaterialDeliveryCertificateFormatWeapon(format, weaponCode); | ||
} | ||
} | ||
} |
Oops, something went wrong.