Skip to content

Commit 7815654

Browse files
authored
Merge pull request #363 from DataObjects-NET/nuget-package-imp
Nuget package content improvements
2 parents 09e55a0 + a80460e commit 7815654

File tree

14 files changed

+231
-0
lines changed

14 files changed

+231
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Firebird provider for DataObjects.Net
2+
3+
The provider is responsible for interactions with Firebird database - information about features and types the storage supports, low level communications, translation of SqlDom queries to native SQL text queries.
4+
5+
For now it supports Firebird 2.5.
6+
7+
### Usage
8+
9+
10+
Create a domain configuration configuration with connection url similar to this
11+
12+
var domainConfiguration = new DomainConfiguration(@"firebird://someuser:somepassword@localhost:3050/tests");
13+
14+
or, alternatively, use connection string like
15+
16+
var domainConfiguration = new DomainConfiguration("firebird",
17+
"User=someuser;Password=somepassword;Database=tests;DataSource=localhost;Port=3050;Dialect=3;Charset=UTF8;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0");
18+
19+
After that, if connection settings are valid, build Domain and use it as usual.

Orm/Xtensive.Orm.Firebird/Xtensive.Orm.Firebird.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<WarningLevel>2</WarningLevel>
1717
</PropertyGroup>
18+
<ItemGroup Label="Nuget content">
19+
<Content Include="$(ProjectDir)NuGetContent\**">
20+
<PackagePath>.</PackagePath>
21+
<Visible>false</Visible>
22+
</Content>
23+
</ItemGroup>
1824
<ItemGroup>
1925
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="6.2.0.1" />
2026
</ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# MySQL provider for DataObjects.Net
2+
3+
The provider is responsible for interactions with MySQL database - information about features and types the storage supports, low level communications, translation of SqlDom queries to native SQL text queries.
4+
5+
For now it supports MySQL 5.5, 5.6
6+
7+
### Usage
8+
9+
Create a domain configuration configuration with connection url similar to this
10+
11+
var domainConfiguration = new DomainConfiguration(@"mysql://someuser:somepassword@localhost:3306/tests");
12+
13+
or, alternatively, use connection string like
14+
15+
var domainConfiguration = new DomainConfiguration("mysql",
16+
"Server=localhost;Port=3306;Database=tests;Uid=someuser;Pwd=Sometest;");
17+
18+
After that, if connection settings are valid, build Domain and use it as usual.

Orm/Xtensive.Orm.MySql/Xtensive.Orm.MySql.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<WarningLevel>2</WarningLevel>
1717
</PropertyGroup>
18+
<ItemGroup Label="Nuget content">
19+
<Content Include="$(ProjectDir)NuGetContent\**">
20+
<PackagePath>.</PackagePath>
21+
<Visible>false</Visible>
22+
</Content>
23+
</ItemGroup>
1824
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
1925
<PackageReference Include="MySql.Data" Version="6.10.7" />
2026
</ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Oracle provider for DataObjects.Net
2+
3+
The provider is responsible for interactions with Oracle database - information about features and types the storage supports, low level communications, translation of SqlDom queries to native SQL text queries.
4+
5+
For now it supports Oracle 10g, 11g
6+
7+
### Usage
8+
9+
Create a domain configuration configuration with connection url similar to this
10+
11+
var domainConfiguration = new DomainConfiguration(@"oracle://someuser:somepassword@localhost:1521/xe");
12+
13+
or, alternatively, use connection string like
14+
15+
var domainConfiguration = new DomainConfiguration("mysql",
16+
"DATA SOURCE="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xe)))";USER ID=someuser;PASSWORD=somepassword");
17+
18+
After that, if connection settings are valid, build Domain and use it as usual.

Orm/Xtensive.Orm.Oracle/Xtensive.Orm.Oracle.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<WarningLevel>2</WarningLevel>
1717
</PropertyGroup>
18+
<ItemGroup Label="Nuget content">
19+
<Content Include="$(ProjectDir)NuGetContent\**">
20+
<PackagePath>.</PackagePath>
21+
<Visible>false</Visible>
22+
</Content>
23+
</ItemGroup>
1824
<ItemGroup>
1925
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="2.18.3" />
2026
</ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# PostgreSQL provider for DataObjects.Net
2+
3+
The provider is responsible for interactions with PostgreSQL database - information about features and types the storage supports, low level communications, translation of SqlDom queries to native SQL text queries.
4+
5+
For now it supports PostgreSQL 8.3, 8.4, 9.x, 10, 11
6+
7+
### Usage
8+
9+
Create a domain configuration configuration with connection url similar to this
10+
11+
var domainConfiguration = new DomainConfiguration(@"postgresql://someuser:somepassword@localhost:5432/tests");
12+
13+
or, alternatively, use connection string like
14+
15+
var domainConfiguration = new DomainConfiguration("postgresql",
16+
"HOST=DODB;PORT=5432;DATABASE=tests;USER ID=someuser;PASSWORD=somepassword");
17+
18+
After that, if connection settings are valid, build Domain and use it as usual.

Orm/Xtensive.Orm.PostgreSql/Xtensive.Orm.PostgreSql.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
<PropertyGroup Label="Release" Condition="'$(Configuration)'=='Release'">
2222
<DefineConstants>TRACE;NETSTANDARD</DefineConstants>
2323
</PropertyGroup>
24+
<ItemGroup Label="Nuget content">
25+
<Content Include="$(ProjectDir)NuGetContent\**">
26+
<PackagePath>.</PackagePath>
27+
<Visible>false</Visible>
28+
</Content>
29+
</ItemGroup>
2430
<ItemGroup>
2531
<PackageReference Include="Npgsql" Version="4.0.5" />
2632
</ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# MS SQL Server provider for DataObjects.Net
2+
3+
The provider is responsible for interactions with MS SQL Server database - information about features and types the storage supports, low level communications, translation of SqlDom queries to native SQL text queries.
4+
5+
For now it supports MS SQL Server 2008 R2, 2012, 2014, 2016, 2017, 2019
6+
7+
### Usage
8+
9+
Create a domain configuration configuration with connection url similar to this
10+
11+
var domainConfiguration = new DomainConfiguration(@"sqlserver://someuser:somepassword@localhost/Tests?MultipleActiveResultSets=True");
12+
13+
or, alternatively, use connection string like
14+
15+
var domainConfiguration = new DomainConfiguration("sqlserver",
16+
"Data Source=localhost;Initial Catalog=Tests;User Id=someuser;Password=somepassword;MultipleActiveResultSets=True");
17+
18+
After that, if connection settings are valid, build Domain and use it as usual.

Orm/Xtensive.Orm.SqlServer/Xtensive.Orm.SqlServer.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<WarningLevel>2</WarningLevel>
1717
</PropertyGroup>
18+
<ItemGroup Label="Nuget content">
19+
<Content Include="$(ProjectDir)NuGetContent\**">
20+
<PackagePath>.</PackagePath>
21+
<Visible>false</Visible>
22+
</Content>
23+
</ItemGroup>
1824
<ItemGroup>
1925
<PackageReference Include="System.Data.SqlClient" Version="4.8.1" />
2026
</ItemGroup>

0 commit comments

Comments
 (0)