Skip to content

Commit 24c7330

Browse files
committed
Reformat and tidy code
1 parent 7421255 commit 24c7330

File tree

203 files changed

+13534
-13753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+13534
-13753
lines changed
Lines changed: 87 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,87 @@
1-
NHibernate.Spatial, allows you to connect NHibernate to a
2-
spatially enabled database and manipulate geometries in
3-
HQL or in .NET code providing you with a fully integrated
4-
GIS programming experience.
5-
6-
Read documentation at NH Spatial site:
7-
http://nhibernate.info/doc/spatial/introduction.html
8-
9-
Please submit your bug reports, feature requests or
10-
patches to NH issue tracker:
11-
https://nhibernate.jira.com/projects/NHSP
12-
13-
...and support questions to NH Users mailing list:
14-
http://groups.google.com/group/nhusers
15-
16-
Build 7.0.0
17-
========================
18-
Add support for Npgsql 4+ (see #130)
19-
Drop support for PostGIS 1.x (see #131)
20-
21-
Build 6.1.1
22-
========================
23-
Fix support for PostGIS 3.1+ (see #129)
24-
25-
Build 6.1.0
26-
========================
27-
Replace System.Data.SqlClient with Microsoft.Data.SqlClient (see #128)
28-
Update NuGet packages
29-
30-
Build 6.0.0
31-
========================
32-
All changes from 6.0.0-pre001, plus:
33-
34-
Ensure that Z/M ordinates of 3D/4D PostGIS geometries are saved to the database (see #120)
35-
Methods marked as obsolete in previous releases have now been removed
36-
Update NHibernate to 5.3.3
37-
Update NetTopologySuite to 2.1.0 (and limit to < 3.0)
38-
Limit Npgsql version to < 4.0 (see #123)
39-
40-
Build 6.0.0-pre001
41-
========================
42-
Update NetTopologySuite to 2.0
43-
Enable SourceLink for NHibernate.Spatial NuGet packages
44-
45-
Update NHibernate to 5.2.7
46-
Update System.Data.SqlClient to 4.8.1
47-
Update MySql.Data to 8.0.20
48-
49-
Build 5.3.0
50-
========================
51-
Update MsSql dialect to target .NET Standard 2.0
52-
Limit NTS dependency version to 1.x to avoid breaking changes in 2.x (see #106)
53-
54-
Update NHibernate dependency version to 5.2.6
55-
Update System.Data.SqlClient NuGet package to 4.8.0
56-
Update MySql.Data NuGet package to 8.0.13
57-
58-
Build 5.2.0
59-
========================
60-
Update NHibernate dependency version to 5.2.4 following #104
61-
62-
Build 5.1.1
63-
========================
64-
Limit NHibernate dependency version to 5.1.x to avoid breaking changes in 5.2.x (see #104)
65-
66-
Build 5.1.0
67-
========================
68-
Targets NHibernate 5.1 and .NET Standard 2.0
69-
70-
Build 5.0.0
71-
========================
72-
Targets NHibernate 5.0.0 and .Net Framework 4.6.1
73-
74-
Build 2.1.2.GA
75-
========================
76-
77-
** New Feature
78-
* MsSql2008 Geometry and Geography.
79-
80-
** Improvement
81-
* Updated to NH 2.1.2.GA
82-
83-
84-
Build 1.0.0.Beta2
85-
========================
86-
** New Feature
87-
* NHSP MySQL: First release (unit tests: 60 passed,
88-
44 failed, 15 skipped)
89-
90-
** Improvement
91-
* Renamed NHSP.NumInteriorRing to NHSP.NumInteriorRings
92-
for OGC SFS compliance.
93-
* NHSP PostGIS: Updated dependencies to Npgsql2.0RTM
94-
95-
96-
Build 1.0.0.Beta1
97-
========================
98-
** Improvement
99-
* Changed HQL function prefix from "NHS" to "NHSP"
100-
* NHSP MsSql2008: Implemented SqlGeometryType for
101-
mapping between SqlGeometry and "geometry UDT".
102-
* Updated to NH 2.0.1.GA
1+
Build 7.0.0
2+
========================
3+
Add support for Npgsql 4+ (see #130)
4+
Drop support for PostGIS 1.x (see #131)
5+
6+
Build 6.1.1
7+
========================
8+
Fix support for PostGIS 3.1+ (see #129)
9+
10+
Build 6.1.0
11+
========================
12+
Replace System.Data.SqlClient with Microsoft.Data.SqlClient (see #128)
13+
Update NuGet packages
14+
15+
Build 6.0.0
16+
========================
17+
All changes from 6.0.0-pre001, plus:
18+
19+
Ensure that Z/M ordinates of 3D/4D PostGIS geometries are saved to the database (see #120)
20+
Methods marked as obsolete in previous releases have now been removed
21+
Update NHibernate to 5.3.3
22+
Update NetTopologySuite to 2.1.0 (and limit to < 3.0)
23+
Limit Npgsql version to < 4.0 (see #123)
24+
25+
Build 6.0.0-pre001
26+
========================
27+
Update NetTopologySuite to 2.0
28+
Enable SourceLink for NHibernate.Spatial NuGet packages
29+
30+
Update NHibernate to 5.2.7
31+
Update System.Data.SqlClient to 4.8.1
32+
Update MySql.Data to 8.0.20
33+
34+
Build 5.3.0
35+
========================
36+
Update MsSql dialect to target .NET Standard 2.0
37+
Limit NTS dependency version to 1.x to avoid breaking changes in 2.x (see #106)
38+
39+
Update NHibernate dependency version to 5.2.6
40+
Update System.Data.SqlClient NuGet package to 4.8.0
41+
Update MySql.Data NuGet package to 8.0.13
42+
43+
Build 5.2.0
44+
========================
45+
Update NHibernate dependency version to 5.2.4 following #104
46+
47+
Build 5.1.1
48+
========================
49+
Limit NHibernate dependency version to 5.1.x to avoid breaking changes in 5.2.x (see #104)
50+
51+
Build 5.1.0
52+
========================
53+
Targets NHibernate 5.1 and .NET Standard 2.0
54+
55+
Build 5.0.0
56+
========================
57+
Targets NHibernate 5.0.0 and .Net Framework 4.6.1
58+
59+
Build 2.1.2.GA
60+
========================
61+
62+
** New Feature
63+
* MsSql2008 Geometry and Geography.
64+
65+
** Improvement
66+
* Updated to NH 2.1.2.GA
67+
68+
69+
Build 1.0.0.Beta2
70+
========================
71+
** New Feature
72+
* NHSP MySQL: First release (unit tests: 60 passed,
73+
44 failed, 15 skipped)
74+
75+
** Improvement
76+
* Renamed NHSP.NumInteriorRing to NHSP.NumInteriorRings
77+
for OGC SFS compliance.
78+
* NHSP PostGIS: Updated dependencies to Npgsql2.0RTM
79+
80+
81+
Build 1.0.0.Beta1
82+
========================
83+
** Improvement
84+
* Changed HQL function prefix from "NHS" to "NHSP"
85+
* NHSP MsSql2008: Implemented SqlGeometryType for
86+
mapping between SqlGeometry and "geometry UDT".
87+
* Updated to NH 2.0.1.GA
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
using NHibernate.Dialect.Function;
2-
using NHibernate.Type;
32

43
namespace NHibernate.Spatial.Dialect
54
{
6-
internal interface IRegisterationAdaptor
5+
internal interface IRegisterationAdaptor
76
{
8-
void RegisterFunction(string name, ISQLFunction function);
7+
void RegisterFunction(string name, ISQLFunction function);
98

10-
string QuoteForTableName(string table);
9+
string QuoteForTableName(string table);
1110

12-
string QuoteForColumnName(string column);
11+
string QuoteForColumnName(string column);
1312

14-
string QuoteForSchemaName(string schema);
13+
string QuoteForSchemaName(string schema);
1514

16-
string Quote(string name);
15+
string Quote(string name);
1716

18-
string QuoteSchema(string schema);
17+
string QuoteSchema(string schema);
1918
}
20-
}
19+
}

0 commit comments

Comments
 (0)