Skip to content

Commit

Permalink
UPDATED: Added Directory.Build.props with certain properties and impo…
Browse files Browse the repository at this point in the history
…rts for working with EntityFrameworkCore.

- Created and added Directory.Build.props file with the following content:
  - Set the NoWarn property to include NU1605 warning.
  - Set the InheritedDirectoryBuildProps property to get the path of the Directory.Build.props file at the root the project.
  - Import the inherited Directory.Build.props file.

UPDATED: Added a description to Dgmjr.EntityFrameworkCore.Abstractions.csproj.

- Added a description to the project file explaining the purpose of the project and listing the interfaces for working with EntityFrameworkCore.

FIXED: Removed unnecessary project references from Dgmjr.EntityFrameworkCore.Abstractions.sln.

- Removed references to unnecessary project files inn file.

UPDATED the README.md file in the Abstractions folder.

- Added a title and description to the README.md file, explaining the purpose of the project and listing the interfaces for working with EntityFrameworkCore.

UPDATED: Revised the README.md file in the All folder.

- Removed unnecessary content from the README.md file.

FIXED: Removed unnecessary project references from Dgmjr.EntityFrameworkCore.sln.

- Removed references to unnecessary project files in the sln file.
  • Loading branch information
dgmjr committed Nov 23, 2023
1 parent b5983e6 commit 29fcd2f
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 116 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<NoWarn>$(NoWarn);NU1605</NoWarn>
<InheritedDirectoryBuildProps>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</InheritedDirectoryBuildProps>
</PropertyGroup>
<Import Project="$(InheritedDirectoryBuildProps)" />
</Project>
13 changes: 13 additions & 0 deletions src/Abstractions/Dgmjr.EntityFrameworkCore.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
<AssemblyName>Dgmjr.EntityFrameworkCore.Abstractions</AssemblyName>
<PackageId>$(AssemblyName)</PackageId>
<EnableGlobalCodeGenerators>false</EnableGlobalCodeGenerators>
<Description>Contains a bunch of "abstractions" for working with EntityFrameworkCore, specifically:
## Interfaces for DbContexts
- [IDbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IDbContext.cs)
- [IDbSet](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IDbSet{T}.cs)
- [IHaveADbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IHaveADbContext.cs)
- [IHaveADbContext{TContext}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IHaveADbContext{TContext}.cs)
- [IValidatableDbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IValidatableDbContext.cs)
- [IValidatableDbContext{TSelf}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IValidatableDbContext{TSelf}.cs)
## Interfaces for Entities
- [IEntity](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity.cs)
- [IEntity{TId}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity{TId}.cs)
- [IEntity{TSelf,TId}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity{TSelf,TId}.cs)
</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Usings" />
Expand Down
29 changes: 13 additions & 16 deletions src/Abstractions/Dgmjr.EntityFrameworkCore.Abstractions.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
#
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B283EBC2-E01F-412D-9339-FD56EF114549}"
ProjectSection(SolutionItems) = preProject
..\..\..\..\Directory.Build.props = ..\..\..\..\Directory.Build.props
..\..\..\..\Directory.Build.targets = ..\..\..\..\Directory.Build.targets
..\..\..\..\global.json = ..\..\..\..\global.json
..\..\..\..\Packages\Versions.Local.props = ..\..\..\..\Packages\Versions.Local.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dgmjr.EntityFrameworkCore.Abstractions", "Dgmjr.EntityFrameworkCore.Abstractions.csproj", "{AA50D284-284A-4E32-97BE-39F6C194A6FE}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dgmjr.EntityFrameworkCore.Abstractions", "Dgmjr.EntityFrameworkCore.Abstractions.csproj", "{A454FE5B-2010-4286-809D-06AC75816283}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -20,18 +17,18 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Local|Any CPU.ActiveCfg = Local|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Local|Any CPU.Build.0 = Local|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Testing|Any CPU.ActiveCfg = Testing|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Testing|Any CPU.Build.0 = Testing|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Staging|Any CPU.ActiveCfg = Staging|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Staging|Any CPU.Build.0 = Staging|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Production|Any CPU.ActiveCfg = Local|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Production|Any CPU.Build.0 = Local|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA50D284-284A-4E32-97BE-39F6C194A6FE}.Release|Any CPU.Build.0 = Release|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Local|Any CPU.ActiveCfg = Local|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Local|Any CPU.Build.0 = Local|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Testing|Any CPU.ActiveCfg = Testing|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Testing|Any CPU.Build.0 = Testing|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Staging|Any CPU.ActiveCfg = Staging|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Staging|Any CPU.Build.0 = Staging|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Production|Any CPU.ActiveCfg = Local|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Production|Any CPU.Build.0 = Local|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A454FE5B-2010-4286-809D-06AC75816283}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
41 changes: 22 additions & 19 deletions src/Abstractions/README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
---
title: Dgmjr.EntityFrameworkCore.Abstractions
lastmod: 2023-10-10T08:39:22.ppppZ
date: 2023-10-10T08:39:22.ppppZ
lastmod: 2023-10-10T08:39:22:00.000Z
date: 2023-10-10T08:39:22:00.000Z
license: MIT
slug: Dgmjr.EntityFrameworkCore.Abstractions-readme
version: 0.0.1-Local
authors:
- dgmjr
description: Dgmjr.EntityFrameworkCore.Abstractions Readme #TODO: write description for Dgmjr.EntityFrameworkCore.Abstractions Readme
description: Contains a bunch of "abstractions" for working with EntityFrameworkCore
keywords:
- Dgmjr.EntityFrameworkCore.Abstractions
- dgmjr
- dgmjr-io
type: readme
type: readme
---
# Dgmjr.EntityFrameworkCore.Abstractions Readme
<!-- TODO: Write the contents of the Dgmjr.EntityFrameworkCore.Abstractions Readme file -->
## Package Description
Package Description

Built from [commit on branch at ]
(/tree/)
## Getting Started
## Prerequisites
## Installation
## Usage
## Contributing
## Versioning
Built from [commit on branch at ]
(/tree/)

# DGMJR Entity Framework Core Abstractions

Contains a bunch of "abstractions" for working with EntityFrameworkCore, specifically:

## Interfaces for DbContexts

- [IDbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IDbContext.cs)
- [IDbSet](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IDbSet{T}.cs)
- [IHaveADbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IHaveADbContext.cs)
- [IHaveADbContext{TContext}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IHaveADbContext{TContext}.cs)
- [IValidatableDbContext](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IValidatableDbContext.cs)
- [IValidatableDbContext{TSelf}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IValidatableDbContext{TSelf}.cs)

## Interfaces for Entities
- [IEntity](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity.cs)
- [IEntity{TId}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity{TId}.cs)
- [IEntity{TSelf,TId}](https://github.com/dgmjr-io/EntityFrameworkCore/blob/main/src/Abstractions/IEntity/IEntity{TSelf,TId}.cs)
Loading

0 comments on commit 29fcd2f

Please sign in to comment.