├── .github └── workflows │ └── dotnet.yml ├── .gitignore ├── .idea └── .idea.RepositoryHelpers │ ├── .idea │ ├── contentModel.xml │ ├── indexLayout.xml │ ├── modules.xml │ ├── vcs.xml │ └── workspace.xml │ └── riderModule.iml ├── .mfractor └── RepositoryHelpers.3a4904c0-eb63-421e-a7ee-2ce5bf9e427d.db ├── GitVersion.yml ├── README.md ├── RepositoryHelpers.sln ├── RepositoryHelpers ├── DataBase │ └── Connection.cs ├── DataBaseRepository │ ├── Base │ │ ├── ICustomRepository.cs │ │ └── ILiteDbRepository.cs │ ├── CustomRepository.cs │ ├── CustomTransaction.cs │ └── LiteDbRepository.cs ├── Mapping │ ├── Attributes │ │ ├── Attributes.cs │ │ ├── DapperIgnore.cs │ │ ├── Identity.cs │ │ ├── PrimaryKey.cs │ │ └── Table.cs │ ├── Mapper.cs │ └── MappingHelper.cs ├── RepositoryHelpers.csproj └── Utils │ ├── CustomAttributeDataExtensions.cs │ ├── CustomRepositoryException.cs │ ├── Enum.cs │ └── NotImplementedDatabaseException.cs └── Resource └── RepositoryHelpersIcon.png /.github/workflows/dotnet.yml: -------------------------------------------------------------------------------- 1 | name: Publish package on NuGet 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | 7 | jobs: 8 | job_1: 9 | name: RepositoryHelpers Build 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v2 13 | - name: Setup .NET 14 | uses: actions/setup-dotnet@v1 15 | with: 16 | dotnet-version: "5.0.x" 17 | 18 | - name: Restore dependencies 19 | run: dotnet restore 20 | working-directory: "RepositoryHelpers/" 21 | 22 | - name: Build 23 | run: dotnet build . --configuration Release --no-restore 24 | working-directory: "RepositoryHelpers/" 25 | 26 | job_2: 27 | name: RepositoryHelpers release publish 28 | needs: job_1 29 | runs-on: ubuntu-latest 30 | steps: 31 | - uses: actions/checkout@v2 32 | - name: Setup .NET 33 | uses: actions/setup-dotnet@v1 34 | with: 35 | dotnet-version: "5.0.x" 36 | 37 | - name: Install GitVersion 38 | uses: gittools/actions/gitversion/setup@v0.9.7 39 | with: 40 | versionSpec: "5.x" 41 | 42 | - name: Fetch all repository 43 | run: git fetch --unshallow 44 | 45 | - name: Determine Version 46 | uses: gittools/actions/gitversion/execute@v0.9.7 47 | with: 48 | useConfigFile: true 49 | 50 | - name: Change version on csproj file 51 | run: sed -i -e 's/PackageVersion>[0-9a-z.-]*'$GITVERSION_NUGETVERSION'(.*)<\/PackageVersion>\s*$ 67 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Autosave files 2 | *~ 3 | 4 | # build 5 | [Oo]bj/ 6 | [Bb]in/ 7 | packages/ 8 | TestResults/ 9 | 10 | # globs 11 | Makefile.in 12 | *.DS_Store 13 | *.sln.cache 14 | *.suo 15 | *.cache 16 | *.pidb 17 | *.userprefs 18 | *.usertasks 19 | config.log 20 | config.make 21 | config.status 22 | aclocal.m4 23 | install-sh 24 | autom4te.cache/ 25 | *.user 26 | *.tar.gz 27 | tarballs/ 28 | test-results/ 29 | Thumbs.db 30 | .vs/ 31 | 32 | # Mac bundle stuff 33 | *.dmg 34 | *.app 35 | 36 | # resharper 37 | *_Resharper.* 38 | *.Resharper 39 | 40 | # dotCover 41 | *.dotCover 42 | -------------------------------------------------------------------------------- /.idea/.idea.RepositoryHelpers/.idea/contentModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /.idea/.idea.RepositoryHelpers/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/.idea.RepositoryHelpers/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/.idea.RepositoryHelpers/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/.idea.RepositoryHelpers/.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | await 287 | 288 | 289 | 290 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 324 | 325 | 326 | 327 | 328 | true 329 | DEFINITION_ORDER 330 | 331 | 332 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 |