[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes PgBox.cs,1.3,1.4 Pg
Status: Inactive
Brought to you by:
carlosga_fb
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes In directory sc8-pr-cvs1:/tmp/cvs-serv10561 Modified Files: PgBox.cs PgCircle.cs PgLine.cs PgLSeg.cs PgPath.cs PgPoint.cs PgPolygon.cs Log Message: * source/PgDataReader.cs: - Added changes for handle new supported types and in SqlClient and OracleClient - New types are PgBox, PgCircle, PgPath, PgPoint, PgLSeg, PgPolygon and PgTimeSpan. * source/PgTypes/PgBox.cs: * source/PgTypes/PgCircle.cs: * source/PgTypes/PgLSeg.cs: * source/PgTypes/PgPath.cs: * source/PgTypes/PgPoint.cs: * source/PgTypes/PgPolygon.cs: - Changed to be structs instead of classes. * source/PgTypes/PgTimeSpan.cs: - New struct type for handle PostgreSQL interval types. Index: PgBox.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgBox.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgBox.cs 18 Oct 2003 13:11:18 -0000 1.3 --- PgBox.cs 26 Oct 2003 14:56:59 -0000 1.4 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgBox { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgBox { #region FIELDS *************** *** 105,109 **** if (obj is PgBox) { ! return (obj as PgBox) == this; } else --- 105,109 ---- if (obj is PgBox) { ! return ((PgBox)obj) == this; } else Index: PgCircle.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgCircle.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgCircle.cs 18 Oct 2003 13:11:18 -0000 1.2 --- PgCircle.cs 26 Oct 2003 14:56:59 -0000 1.3 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgCircle { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgCircle { #region FIELDS *************** *** 102,106 **** if (obj is PgCircle) { ! return (obj as PgCircle) == this; } else --- 102,106 ---- if (obj is PgCircle) { ! return ((PgCircle)obj) == this; } else Index: PgLine.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgLine.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgLine.cs 18 Oct 2003 13:11:18 -0000 1.2 --- PgLine.cs 26 Oct 2003 14:56:59 -0000 1.3 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgLine { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgLine { #region FIELDS *************** *** 105,109 **** if (obj is PgLine) { ! return (obj as PgLine) == this; } else --- 105,109 ---- if (obj is PgLine) { ! return ((PgLine)obj) == this; } else Index: PgLSeg.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgLSeg.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgLSeg.cs 20 Oct 2003 21:39:41 -0000 1.3 --- PgLSeg.cs 26 Oct 2003 14:56:59 -0000 1.4 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgLSeg { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgLSeg { #region FIELDS *************** *** 105,109 **** if (obj is PgLSeg) { ! return (obj as PgLSeg) == this; } else --- 105,109 ---- if (obj is PgLSeg) { ! return ((PgLSeg)obj) == this; } else Index: PgPath.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgPath.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgPath.cs 20 Oct 2003 21:39:41 -0000 1.2 --- PgPath.cs 26 Oct 2003 14:56:59 -0000 1.3 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgPath { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgPath { #region FIELDS *************** *** 129,133 **** if (obj is PgPath) { ! return (obj as PgPath) == this; } else --- 129,133 ---- if (obj is PgPath) { ! return ((PgPath)obj) == this; } else Index: PgPoint.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgPoint.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgPoint.cs 18 Oct 2003 13:11:18 -0000 1.2 --- PgPoint.cs 26 Oct 2003 14:56:59 -0000 1.3 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgPoint { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgPoint { #region FIELDS *************** *** 101,105 **** if (obj is PgPoint) { ! return (obj as PgPoint) == this; } else --- 101,105 ---- if (obj is PgPoint) { ! return ((PgPoint)obj) == this; } else Index: PgPolygon.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgTypes/PgPolygon.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgPolygon.cs 20 Oct 2003 21:39:41 -0000 1.3 --- PgPolygon.cs 26 Oct 2003 14:56:59 -0000 1.4 *************** *** 21,25 **** namespace PostgreSql.Data.PgTypes { ! public class PgPolygon { #region FIELDS --- 21,25 ---- namespace PostgreSql.Data.PgTypes { ! public struct PgPolygon { #region FIELDS *************** *** 122,126 **** if (obj is PgPolygon) { ! return (obj as PgPolygon) == this; } else --- 122,126 ---- if (obj is PgPolygon) { ! return ((PgPolygon)obj) == this; } else |