Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Type
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11004/NHibernate/Type
Modified Files:
BinaryType.cs BooleanType.cs ByteType.cs CharBooleanType.cs
CharType.cs CultureInfoType.cs DateTimeType.cs DateType.cs
DecimalType.cs DoubleType.cs GuidType.cs Int16Type.cs
Int32Type.cs Int64Type.cs SerializableType.cs SingleType.cs
StringClobType.cs StringType.cs TicksType.cs TimeSpanType.cs
TrueFalseType.cs TypeType.cs YesNoType.cs
Log Message:
minor updates to xml docs.
Index: TypeType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/TypeType.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TypeType.cs 21 Aug 2004 16:37:33 -0000 1.3
--- TypeType.cs 25 Oct 2004 05:37:56 -0000 1.4
***************
*** 9,13 ****
/// <summary>
/// Maps the Assembly Qualified Name of a <see cref="System.Type"/> to a
! /// variable length string column.
/// </summary>
public class TypeType : ImmutableType
--- 9,13 ----
/// <summary>
/// Maps the Assembly Qualified Name of a <see cref="System.Type"/> to a
! /// <see cref="DbType.Stirng" /> column.
/// </summary>
public class TypeType : ImmutableType
Index: ByteType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/ByteType.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ByteType.cs 20 Sep 2004 03:00:29 -0000 1.7
--- ByteType.cs 25 Oct 2004 05:37:56 -0000 1.8
***************
*** 8,14 ****
/// <summary>
! /// ByteType.
/// </summary>
! public class ByteType : ValueTypeType, IDiscriminatorType {
internal ByteType() : base( new ByteSqlType() )
--- 8,16 ----
/// <summary>
! /// Maps a <see cref="System.Byte"/> Property
! /// to a <see cref="DbType.Byte"/> column.
/// </summary>
! public class ByteType : ValueTypeType, IDiscriminatorType
! {
internal ByteType() : base( new ByteSqlType() )
Index: DateType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/DateType.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** DateType.cs 19 Oct 2004 02:24:08 -0000 1.11
--- DateType.cs 25 Oct 2004 05:37:56 -0000 1.12
***************
*** 6,9 ****
--- 6,13 ----
{
+ /// <summary>
+ /// Maps the Year, Month, and Day of a <see cref="System.DateTime"/> Property to a
+ /// <see cref="DbType.Date"/> column
+ /// </summary>
public class DateType : ValueTypeType, IIdentifierType, ILiteralType
{
Index: YesNoType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/YesNoType.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** YesNoType.cs 21 Aug 2004 16:37:33 -0000 1.5
--- YesNoType.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 6,11 ****
{
/// <summary>
! /// Maps a System.Boolean to a single character column that stores a
! /// "Y"/"N" to indicate true/false.
/// </summary>
/// <remarks>
--- 6,11 ----
{
/// <summary>
! /// Maps a <see cref="System.Boolean" /> to a 1 char <see cref="DbType.AnsiStringFixedLength" /> column
! /// that stores a <code>'Y'/'N'</code> to indicate <code>true/false</code>.
/// </summary>
/// <remarks>
Index: Int16Type.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/Int16Type.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Int16Type.cs 19 Oct 2004 02:24:08 -0000 1.5
--- Int16Type.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 6,10 ****
namespace NHibernate.Type {
! public class Int16Type : ValueTypeType, IDiscriminatorType, IVersionType {
internal Int16Type() : base( new Int16SqlType() )
--- 6,15 ----
namespace NHibernate.Type {
! /// <summary>
! /// Maps a <see cref="System.Int16"/> Property
! /// to a <see cref="DbType.Int16"/> column.
! /// </summary>
! public class Int16Type : ValueTypeType, IDiscriminatorType, IVersionType
! {
internal Int16Type() : base( new Int16SqlType() )
Index: CultureInfoType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/CultureInfoType.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CultureInfoType.cs 21 Aug 2004 16:37:32 -0000 1.3
--- CultureInfoType.cs 25 Oct 2004 05:37:56 -0000 1.4
***************
*** 8,15 ****
/// <summary>
! /// CultureInfoType for using a System.Globalization.CultureInfo an the
! /// culture name (not the Culture ID) is stored in the DB.
/// </summary>
! public class CultureInfoType : ImmutableType, ILiteralType {
internal CultureInfoType() : base( new StringSqlType(5) )
--- 8,20 ----
/// <summary>
! /// Maps a <see cref="System.Globalization.CultureInfo"/> Property
! /// to a <see cref="DbType.String"/> column.
/// </summary>
! /// <remarks>
! /// CultureInfoType stores the culture name (not the Culture ID) of the
! /// <see cref="System.Globalization.CultureInfo"/> in the DB.
! /// </remarks>
! public class CultureInfoType : ImmutableType, ILiteralType
! {
internal CultureInfoType() : base( new StringSqlType(5) )
Index: DecimalType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/DecimalType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DecimalType.cs 20 Sep 2004 03:00:29 -0000 1.6
--- DecimalType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 8,12 ****
/// <summary>
! /// DecimalType
/// </summary>
public class DecimalType : ValueTypeType, IIdentifierType
--- 8,13 ----
/// <summary>
! /// Maps a <see cref="System.Decimal"/> Property
! /// to a <see cref="DbType.Decimal"/> column.
/// </summary>
public class DecimalType : ValueTypeType, IIdentifierType
Index: GuidType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/GuidType.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** GuidType.cs 20 Sep 2004 03:00:29 -0000 1.4
--- GuidType.cs 25 Oct 2004 05:37:56 -0000 1.5
***************
*** 6,10 ****
namespace NHibernate.Type
{
!
public class GuidType : ValueTypeType, IDiscriminatorType
{
--- 6,13 ----
namespace NHibernate.Type
{
! /// <summary>
! /// Maps a <see cref="System.Guid"/> Property
! /// to a <see cref="DbType.Guid"/> column.
! /// </summary>
public class GuidType : ValueTypeType, IDiscriminatorType
{
Index: SingleType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/SingleType.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SingleType.cs 20 Sep 2004 03:00:29 -0000 1.5
--- SingleType.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 8,16 ****
/// <summary>
! /// Maps a System.Single Property to an column that can store a single precision number.
/// </summary>
/// <remarks>
/// Verify through your database's documentation if there is a column type that
! /// matches up with the capabilities of System.Single
/// </remarks>
public class SingleType : ValueTypeType
--- 8,17 ----
/// <summary>
! /// Maps a <see cref="System.Single" /> Property to an
! /// <see cref="DbType.Single" /> column.
/// </summary>
/// <remarks>
/// Verify through your database's documentation if there is a column type that
! /// matches up with the capabilities of <see cref="System.Single" />
/// </remarks>
public class SingleType : ValueTypeType
Index: BooleanType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/BooleanType.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** BooleanType.cs 20 Sep 2004 03:00:29 -0000 1.9
--- BooleanType.cs 25 Oct 2004 05:37:56 -0000 1.10
***************
*** 10,18 ****
/// to a <see cref="DbType.Boolean"/> column.
/// </summary>
- /// <remarks>
- /// Had to use setShort / getShort instead of setBoolean / getBoolean
- /// to work around a HypersonicSQL driver bug - these are comments copied
- /// from Hibernate so I am not sure how/if they apply to NHibernate
- /// </remarks>
public class BooleanType : ValueTypeType, IDiscriminatorType {
--- 10,13 ----
Index: Int64Type.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/Int64Type.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Int64Type.cs 19 Oct 2004 02:24:08 -0000 1.5
--- Int64Type.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 6,9 ****
--- 6,13 ----
namespace NHibernate.Type {
+ /// <summary>
+ /// Maps a <see cref="System.Int64"/> Property
+ /// to a <see cref="DbType.Int64"/> column.
+ /// </summary>
public class Int64Type : ValueTypeType, IIdentifierType, IVersionType
{
Index: CharBooleanType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/CharBooleanType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CharBooleanType.cs 20 Aug 2004 17:39:01 -0000 1.6
--- CharBooleanType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 7,13 ****
/// <summary>
! /// Alternative boolean types.
/// </summary>
! public abstract class CharBooleanType : BooleanType {
protected abstract string TrueString { get; }
--- 7,15 ----
/// <summary>
! /// Maps a <see cref="System.Boolean"/> Property
! /// to a <see cref="DbType.AnsiStringFixedLength"/> column.
/// </summary>
! public abstract class CharBooleanType : BooleanType
! {
protected abstract string TrueString { get; }
***************
*** 28,32 ****
public override object Get(IDataReader rs, string name) {
! return Get(rs, rs.GetOrdinal(name));
}
--- 30,34 ----
public override object Get(IDataReader rs, string name) {
! return Get(rs, rs.GetOrdinal(name));
}
Index: CharType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/CharType.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CharType.cs 20 Sep 2004 03:00:29 -0000 1.5
--- CharType.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 7,13 ****
/// <summary>
! /// Summary description for CharacterType.
/// </summary>
! public class CharType : ValueTypeType , IDiscriminatorType {
internal CharType() : base( new StringFixedLengthSqlType(1) )
--- 7,15 ----
/// <summary>
! /// Maps a <see cref="System.Char"/> Property
! /// to a <see cref="DbType.Char"/> column.
/// </summary>
! public class CharType : ValueTypeType , IDiscriminatorType
! {
internal CharType() : base( new StringFixedLengthSqlType(1) )
Index: SerializableType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/SerializableType.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SerializableType.cs 21 Aug 2004 16:37:33 -0000 1.5
--- SerializableType.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 10,20 ****
/// <summary>
! /// Maps an instance of a System.Type that has the SerializableAttribute to
! /// a Binary column.
/// </summary>
/// <remarks>
/// <para>
! /// The Serializabletype should be used when you know that Bytes are
! /// not going to be greater than 8,000
/// </para>
/// <para>
--- 10,20 ----
/// <summary>
! /// Maps an instance of a <see cref="System.Object" /> that has the <see cref="System.SerializableAttribute" />
! /// to a <see cref="DbType.Binary" /> column.
/// </summary>
/// <remarks>
/// <para>
! /// The SerializableType should be used when you know that Bytes are
! /// not going to be greater than 8,000.
/// </para>
/// <para>
Index: Int32Type.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/Int32Type.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Int32Type.cs 19 Oct 2004 02:24:08 -0000 1.6
--- Int32Type.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 6,10 ****
namespace NHibernate.Type {
! public class Int32Type : ValueTypeType, IDiscriminatorType, IVersionType {
internal Int32Type() : base( new Int32SqlType() )
--- 6,15 ----
namespace NHibernate.Type {
! /// <summary>
! /// Maps a <see cref="System.Int32"/> Property
! /// to a <see cref="DbType.Int32"/> column.
! /// </summary>
! public class Int32Type : ValueTypeType, IDiscriminatorType, IVersionType
! {
internal Int32Type() : base( new Int32SqlType() )
Index: TicksType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/TicksType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TicksType.cs 19 Oct 2004 02:24:08 -0000 1.6
--- TicksType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 8,13 ****
/// <summary>
! /// Maps a System.DateTime Property to an Int64 column that stores the DateTime using
! /// the Ticks property.
/// </summary>
/// <remarks>
--- 8,13 ----
/// <summary>
! /// Maps a <see cref="System.DateTime" /> Property to an <see cref="DbType.Int64" /> column
! /// that stores the DateTime using the Ticks property.
/// </summary>
/// <remarks>
Index: StringClobType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/StringClobType.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** StringClobType.cs 25 Aug 2004 03:52:21 -0000 1.1
--- StringClobType.cs 25 Oct 2004 05:37:56 -0000 1.2
***************
*** 6,10 ****
{
/// <summary>
! /// Maps a System.String Property to an column that can store a CLOB.
/// </summary>
/// <remarks>
--- 6,11 ----
{
/// <summary>
! /// Maps a <see cref="System.String" /> Property to an
! /// <see cref="System.String" /> column that can store a CLOB.
/// </summary>
/// <remarks>
Index: BinaryType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/BinaryType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** BinaryType.cs 21 Aug 2004 16:37:32 -0000 1.6
--- BinaryType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 63,67 ****
}
else {
! //TODO: not sure if this will work...
return (byte[])rs[index];
}
--- 63,67 ----
}
else {
! //TODO: not sure if this will work with all dbs
return (byte[])rs[index];
}
Index: DateTimeType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/DateTimeType.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** DateTimeType.cs 19 Oct 2004 02:24:08 -0000 1.11
--- DateTimeType.cs 25 Oct 2004 05:37:56 -0000 1.12
***************
*** 7,12 ****
{
/// <summary>
! /// Maps a System.DateTime Property to a column that stores date & time down to
! /// the accuracy of a second.
/// </summary>
/// <remarks>
--- 7,12 ----
{
/// <summary>
! /// Maps a <see cref="System.DateTime" /> Property to a <see cref="DbType.DateTime"/> column that
! /// stores date & time down to the accuracy of a second.
/// </summary>
/// <remarks>
Index: StringType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/StringType.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** StringType.cs 21 Aug 2004 16:37:33 -0000 1.5
--- StringType.cs 25 Oct 2004 05:37:56 -0000 1.6
***************
*** 9,13 ****
/// <summary>
! /// Maps a System.String to a single variable length string column
/// </summary>
public class StringType : ImmutableType, IDiscriminatorType {
--- 9,13 ----
/// <summary>
! /// Maps a <see cref="System.String" /> to a <see cref="DbType.String" /> column.
/// </summary>
public class StringType : ImmutableType, IDiscriminatorType {
Index: DoubleType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/DoubleType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DoubleType.cs 20 Sep 2004 03:00:29 -0000 1.6
--- DoubleType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 6,10 ****
namespace NHibernate.Type {
! public class DoubleType : ValueTypeType {
internal DoubleType() : base( new DoubleSqlType() )
--- 6,15 ----
namespace NHibernate.Type {
! /// <summary>
! /// Maps a <see cref="System.Double"/> Property
! /// to a <see cref="DbType.Double"/> column.
! /// </summary>
! public class DoubleType : ValueTypeType
! {
internal DoubleType() : base( new DoubleSqlType() )
Index: TimeSpanType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/TimeSpanType.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TimeSpanType.cs 19 Oct 2004 02:24:08 -0000 1.6
--- TimeSpanType.cs 25 Oct 2004 05:37:56 -0000 1.7
***************
*** 8,12 ****
/// <summary>
! /// Maps a System.Timespan Property to an Int64 column
/// </summary>
public class TimeSpanType : ValueTypeType, IVersionType, ILiteralType
--- 8,12 ----
/// <summary>
! /// Maps a <see cref="System.Timespan" /> Property to an <see cref="DbType.Int64" /> column
/// </summary>
public class TimeSpanType : ValueTypeType, IVersionType, ILiteralType
Index: TrueFalseType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/TrueFalseType.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TrueFalseType.cs 21 Aug 2004 16:37:33 -0000 1.4
--- TrueFalseType.cs 25 Oct 2004 05:37:56 -0000 1.5
***************
*** 6,11 ****
{
/// <summary>
! /// Maps a System.Boolean to a single character column that stores a
! /// "T"/F" to indicate true/false.
/// </summary>
/// <remarks>
--- 6,11 ----
{
/// <summary>
! /// Maps a <see cref="System.Boolean" /> to a 1 char <see cref="DbType.AnsiStringFixedLength" /> column
! /// that stores a <code>'T'/'F'</code> to indicate <code>true/false</code>.
/// </summary>
/// <remarks>
|