edu-m-dev / code

0 stars 0 forks source link

code reference

EF

Starting with an existing database

004_refactoring.sln

https://www.learnentityframeworkcore.com/walkthroughs/existing-database

Dapper

dapper.contrib https://github.com/StackExchange/Dapper/tree/main/Dapper.Contrib

004_refactoring.sln

git cheatsheet

show all commits on a feature branch not coming from develop branch

git log develop..feature/x --no-merges

ref https://stackoverflow.com/questions/1710894/using-git-show-all-commits-that-are-in-one-branch-but-not-the-others

point local brach x to its remote

git reset --hard origin/x

remove untracked files from the working tree

git clean -f

How-to

compare vscode with sls-based search

add all projects to a solution file

https://stackoverflow.com/questions/52017316/how-to-add-all-projects-to-a-single-solution-with-dotnet-sln dotnet sln add (ls -r */.csproj)

end of file