-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EnumLookup for owned entities #16
Co-Authored-By: Christopher Dresel <[email protected]>
- Loading branch information
Showing
7 changed files
with
224 additions
and
117 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
12 changes: 12 additions & 0 deletions
12
samples/SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo/Entities/Review.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,12 @@ | ||
// <copyright file="Review.cs" company="Spatial Focus"> | ||
// Copyright (c) Spatial Focus. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
// </copyright> | ||
|
||
namespace SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo.Entities | ||
{ | ||
public class Review | ||
{ | ||
public ReviewRating Rating { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
samples/SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo/Entities/ReviewRating.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,16 @@ | ||
// <copyright file="ReviewRating.cs" company="Spatial Focus"> | ||
// Copyright (c) Spatial Focus. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
// </copyright> | ||
|
||
namespace SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo.Entities | ||
{ | ||
public enum ReviewRating | ||
{ | ||
Excellent = 1, | ||
|
||
Average, | ||
|
||
Bad, | ||
} | ||
} |
Oops, something went wrong.