├── Test ├── test.db ├── clestest.bat ├── types.fsx ├── SQLGen.fs ├── Test.fsproj ├── Setup.fs ├── Orm.fs └── Program.fs ├── .vscode ├── settings.json ├── launch.json └── tasks.json ├── .vsls.json ├── Lib ├── README.md ├── Logging.fs ├── LICENSE ├── FORM.fsproj ├── Relation.fs ├── v2_notes.md ├── ORM.fs └── Utilities.fs ├── Performance ├── BenchmarkConfig.fs ├── Performance.fsproj ├── Utilities.fs └── Program.fs ├── Attributes ├── Attributes.fsproj ├── LICENSE └── Library.fs ├── docs ├── advanced.md ├── index.md └── basics.md ├── README.md ├── Benchmarks.md └── .gitignore /Test/test.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hillcrest-R-D/FORM/HEAD/Test/test.db -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.inlayHints.enabled": "offUnlessPressed" 3 | } -------------------------------------------------------------------------------- /.vsls.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/vsls", 3 | "gitignore":"none" 4 | } -------------------------------------------------------------------------------- /Test/clestest.bat: -------------------------------------------------------------------------------- 1 | dotnet clean && dotnet restore && dotnet test --logger "trx;logfilename=mytests.trx" -------------------------------------------------------------------------------- /Lib/README.md: -------------------------------------------------------------------------------- 1 | # FORM 2 | HCRDs F# Object Relational Mapper 3 | dotnet nuget push ./bin/Release/Form.1.0.0.nupkg --api-key aa --source https://api.nuget.org/v3/index.json -------------------------------------------------------------------------------- /Lib/Logging.fs: -------------------------------------------------------------------------------- 1 | namespace Form 2 | 3 | module Logging = 4 | open Microsoft.Extensions.Logging 5 | open Microsoft.Extensions.Logging.Console 6 | 7 | /// Ignore this. This is solely to give extra context to the default logger. 8 | /// Again, due to inlining constraints, we are unable to mark it as private. 9 | type Form = unit 10 | let mutable logger = 11 | LoggerFactory.Create( fun builder -> builder.AddConsole() |> ignore ).CreateLogger