Skip to content

Commit 0f1f680

Browse files
committed
swap class for record
1 parent a503110 commit 0f1f680

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

FSharp/FSharpRepoDB/FSharpRepoDB/FSharpRepoDB.fsproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
<ItemGroup>
99
<Content Include="Database\Schema.sql" />
10-
<Compile Include="Models\Person.fs" />
10+
<Compile Include="Types.fs" />
1111
<Compile Include="Program.fs" />
1212
</ItemGroup>
1313

14-
<ItemGroup />
15-
1614
<ItemGroup>
1715
<PackageReference Include="RepoDb.SqlServer" Version="1.0.13" />
1816
</ItemGroup>

FSharp/FSharpRepoDB/FSharpRepoDB/Models/Person.fs

-12
This file was deleted.
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace FSharpRepoDB
2+
3+
/// Group your types and other constructs that allow you
4+
/// to represent your domain
5+
module Types =
6+
type Person =
7+
{ Id: int64
8+
Name: string
9+
Age: int
10+
Address: string
11+
IsActive: bool }

0 commit comments

Comments
 (0)