From 3ad7c535e8aa61a0c9ec972d0a767c60e1511020 Mon Sep 17 00:00:00 2001 From: Simon Reynolds Date: Thu, 27 May 2021 16:47:46 +0100 Subject: [PATCH] Documentation release of version 5.0.3-beta002 --- docs/Api_Reference/EFCore.FSharp/EFCore.FSharp.html | 2 +- docs/Explanations/Background.html | 4 ++-- docs/How_Tos/Querying_Options.html | 4 ++-- docs/How_Tos/Scaffold_As_Types.html | 4 ++-- docs/How_Tos/Use_DbContextHelpers.html | 4 ++-- docs/Tutorials/Getting_Started.html | 4 ++-- docs/files/placeholder.html | 4 ++-- docs/index.html | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/Api_Reference/EFCore.FSharp/EFCore.FSharp.html b/docs/Api_Reference/EFCore.FSharp/EFCore.FSharp.html index 2233d0b..54b4c28 100644 --- a/docs/Api_Reference/EFCore.FSharp/EFCore.FSharp.html +++ b/docs/Api_Reference/EFCore.FSharp/EFCore.FSharp.html @@ -1,2 +1,2 @@ -EFCore.FSharp docs / EFCore.FSharp.html-EFCore.FSharp
\ No newline at end of file +EFCore.FSharp docs / EFCore.FSharp.html-EFCore.FSharp
\ No newline at end of file diff --git a/docs/Explanations/Background.html b/docs/Explanations/Background.html index 9eea3dd..1a04e33 100644 --- a/docs/Explanations/Background.html +++ b/docs/Explanations/Background.html @@ -1,9 +1,9 @@ -EFCore.FSharp docs / Background.html-EFCore.FSharp

Background

+EFCore.FSharp docs / Background.html-EFCore.FSharp

Background

Every introduction to .NET Core onwards will usually start by suggesting EntityFramework Core as the go-to choice for data access.

Unfortunately EF Core will output all generated code in C# and C# alone. While it is the most popular .NET language, it it not the only .NET language.

This project brings support for F# to EF Core, allowing for database scaffolding, migrations to be created in F#.

Why not Dapper, or SQLProvider, or .....?

If that's what you want to use, please do! The sheer scale of database access libraries in .NET and in F# is one of the great strengths of the community.

But as EF Core is one of the most widely known ORM solutions in the .NET world, it makes sense that it should support various .NET languages. That's what this project is for.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/How_Tos/Querying_Options.html b/docs/How_Tos/Querying_Options.html index ce08f3a..f6e11ca 100644 --- a/docs/How_Tos/Querying_Options.html +++ b/docs/How_Tos/Querying_Options.html @@ -1,5 +1,5 @@ -EFCore.FSharp docs / Querying_Options.html-EFCore.FSharp

Querying option types

+EFCore.FSharp docs / Querying_Options.html-EFCore.FSharp

Querying option types

Configuring

EF Core by default does not know anything about the way of F# deals with nullable values which is the Option type.

This project has a way to enable query for columns defined as an option, first you need to call .UseFSharpTypes() on the @@ -208,4 +208,4 @@

Querying

property Option.IsNone: bool with get
val queryWhereValue : ctx:MyContext -> unit
property Option.Value: string with get
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/How_Tos/Scaffold_As_Types.html b/docs/How_Tos/Scaffold_As_Types.html index c693fee..5be8243 100644 --- a/docs/How_Tos/Scaffold_As_Types.html +++ b/docs/How_Tos/Scaffold_As_Types.html @@ -1,5 +1,5 @@ -EFCore.FSharp docs / Scaffold_As_Types.html-EFCore.FSharp

Scaffolding code

+EFCore.FSharp docs / Scaffold_As_Types.html-EFCore.FSharp

Scaffolding code

EF Core allows us to scaffold a model in code, based on an existing database.

Because F# allows multiple ways of representing an object, we are able to provide configuration options for how that generated code is formed.

Record vs Class type

@@ -139,4 +139,4 @@

Sca
union case ScaffoldNullableColumnsAs.NullableTypes: ScaffoldNullableColumnsAs
static member EFCoreFSharpServices.WithScaffoldOptions : scaffoldOptions:ScaffoldOptions -> IDesignTimeServices
IDesignTimeServices.ConfigureDesignTimeServices(serviceCollection: IServiceCollection) : unit
-

\ No newline at end of file +
\ No newline at end of file diff --git a/docs/How_Tos/Use_DbContextHelpers.html b/docs/How_Tos/Use_DbContextHelpers.html index f006b3f..997394e 100644 --- a/docs/How_Tos/Use_DbContextHelpers.html +++ b/docs/How_Tos/Use_DbContextHelpers.html @@ -1,5 +1,5 @@ -EFCore.FSharp docs / Use_DbContextHelpers.html-EFCore.FSharp

Use RecordHelpers

+EFCore.FSharp docs / Use_DbContextHelpers.html-EFCore.FSharp

Use RecordHelpers

EFCore.FSharp also includes a number of helper methods for allowing a more F#-like experience while interacting with a DbContext.

They can be found in EntityFrameworkCore.FSharp.DbContextHelpers

Example Usages

@@ -257,4 +257,4 @@

Async methodscustom operation: where (bool)

Calls Linq.QueryBuilder.Where

custom operation: select ('Result)

Calls Linq.QueryBuilder.Select
val tryFirstAsync : dbset:#Linq.IQueryable<'b> -> Async<'b option>
-
\ No newline at end of file + \ No newline at end of file diff --git a/docs/Tutorials/Getting_Started.html b/docs/Tutorials/Getting_Started.html index 7224e15..38e78a7 100644 --- a/docs/Tutorials/Getting_Started.html +++ b/docs/Tutorials/Getting_Started.html @@ -1,5 +1,5 @@ -EFCore.FSharp docs / Getting_Started.html-EFCore.FSharp

Getting Started

+EFCore.FSharp docs / Getting_Started.html-EFCore.FSharp \ No newline at end of file +
\ No newline at end of file diff --git a/docs/files/placeholder.html b/docs/files/placeholder.html index 222473e..3a3abe4 100644 --- a/docs/files/placeholder.html +++ b/docs/files/placeholder.html @@ -1,3 +1,3 @@ -EFCore.FSharp docs / placeholder.html-EFCore.FSharp

place images or other files here

-
\ No newline at end of file +EFCore.FSharp docs / placeholder.html-EFCore.FSharp

place images or other files here

+
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 3c4b4d2..cee0f55 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,5 @@ -EFCore.FSharp docs / index.html-EFCore.FSharp

EFCore.FSharp

+EFCore.FSharp docs / index.html-EFCore.FSharp

EFCore.FSharp


What is EFCore.FSharp?

EFCore.FSharp provides F# design time support for EF Core.

@@ -55,4 +55,4 @@
Api Reference
-
\ No newline at end of file + \ No newline at end of file