Commit 1ef62fad authored by Helgi Hafþórsson's avatar Helgi Hafþórsson
Browse files

Fixed readme.md. Last minute save to .sln file

parent 28f03c0f
Pipeline #14266547 passed with stage
......@@ -21,10 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Marsonsoft.Database.NetFramework.Tests", "test\Marsonsoft.Database.NetFramework.Tests\Marsonsoft.Database.NetFramework.Tests.csproj", "{BC39A1EA-E449-4524-A674-F2112624147E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleNetCore", "samples\SampleNetCore\SampleNetCore.csproj", "{61A3F1BE-7873-4C1E-A06B-2C38C166BF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleNetFramework", "samples\SampleNetFramework\SampleNetFramework.csproj", "{83B95ECA-576D-44F1-9FDA-31E582D61187}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
......@@ -43,14 +39,6 @@ Global
{BC39A1EA-E449-4524-A674-F2112624147E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC39A1EA-E449-4524-A674-F2112624147E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC39A1EA-E449-4524-A674-F2112624147E}.Release|Any CPU.Build.0 = Release|Any CPU
{61A3F1BE-7873-4C1E-A06B-2C38C166BF57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{61A3F1BE-7873-4C1E-A06B-2C38C166BF57}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61A3F1BE-7873-4C1E-A06B-2C38C166BF57}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61A3F1BE-7873-4C1E-A06B-2C38C166BF57}.Release|Any CPU.Build.0 = Release|Any CPU
{83B95ECA-576D-44F1-9FDA-31E582D61187}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{83B95ECA-576D-44F1-9FDA-31E582D61187}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83B95ECA-576D-44F1-9FDA-31E582D61187}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83B95ECA-576D-44F1-9FDA-31E582D61187}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......@@ -59,8 +47,6 @@ Global
{5A8FB352-10B9-4EB2-9297-49C9A66A65CE} = {871C6815-F7D6-4747-8B65-F39063EF1DBF}
{7D9B2CBD-DB01-4EE6-9743-68B0590D844D} = {22873875-9BB7-423E-9B7B-E8565A69D525}
{BC39A1EA-E449-4524-A674-F2112624147E} = {22873875-9BB7-423E-9B7B-E8565A69D525}
{61A3F1BE-7873-4C1E-A06B-2C38C166BF57} = {ED35E57D-7432-4DFB-99E3-9EAFD4812242}
{83B95ECA-576D-44F1-9FDA-31E582D61187} = {ED35E57D-7432-4DFB-99E3-9EAFD4812242}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C1FECD20-9ABB-464F-A4FB-7AD5F68A9E27}
......
......@@ -2,19 +2,6 @@
## About
This is a small library that can simplify your database code and make it more database provider agnostic.
## Simplify?
You don't have to
An IDataEnviroment is a database environment where all your choices have already been made: what connection string you use, the type of the database client you use and more. You can just grab an IDataEnvironment instance and start using connections and commands without worring about types or connection strings.
A DataEnvironmentProvider provides you with the IDataEnviroments. This is the place where the choices are made about connection strings and database clients (providers).
Use a DataEnvironmentProviderFactory
to create a DataEnvironmentProvider
to create an IDataEnvironment
to create an IDbConnection
to create an IDbCommand
## Background
Database provider agnostic code enables you to write code that communicates with a database without direct dependency on specific types of providers.
For example, you can write code that directly creates objects in the `Oracle.DataAccess.Client` namespace and that code will be directly dependent upon the Oracle.DataAccess.Client.dll.
......@@ -42,8 +29,7 @@ At the center of the library is an interface called `IDataEnvironment`. You crea
## Code Example
(See samples/SampleNetCore)
Code:
```C#
```c#
using Marsonsoft.Database;
using Microsoft.Extensions.Configuration;
using System.Diagnostics;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment