Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19739/NHibernate/Dialect
Modified Files:
Dialect.cs MsSql2000Dialect.cs Oracle9Dialect.cs
SybaseDialect.cs
Log Message:
Removed [Obsolete] properties.
Index: Oracle9Dialect.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect/Oracle9Dialect.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Oracle9Dialect.cs 19 Jul 2004 16:05:50 -0000 1.11
--- Oracle9Dialect.cs 19 Aug 2004 17:45:25 -0000 1.12
***************
*** 179,195 ****
}
- [Obsolete("See the Dialect class for reason")]
- public override bool UseNamedParameters
- {
- get { return true; }
- }
-
- [Obsolete("See the Dialect class for reason")]
- public override string NamedParametersPrefix
- {
- get { return ":"; }
- }
-
-
public class SysdateQueryFunctionInfo : IQueryFunctionInfo
{
--- 179,182 ----
Index: Dialect.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect/Dialect.cs,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** Dialect.cs 16 Aug 2004 05:30:58 -0000 1.36
--- Dialect.cs 19 Aug 2004 17:45:24 -0000 1.37
***************
*** 501,534 ****
get { return aggregateFunctions;}
}
-
- /// <summary>
- /// Does this dialect use named parameters?
- /// </summary>
- /// <remarks>
- /// Do NOT use this Property. It will be removed once the class ADOHack has been removed. Instead
- /// the Driver should be used because that is what determines how the CommandText and Parameters
- /// have to be built.
- /// </remarks>
- [Obsolete("This method will be removed once the class ADOHack is gone. The Driver should be used instead.")]
- public virtual bool UseNamedParameters
- {
- get { return false; }
- }
-
- /// <summary>
- /// The prefix to use with named parameter.
- /// If UseNamedParameters return false this property will not be used.
- /// </summary>
- /// <remarks>
- /// Do NOT use this Property. It will be removed once the class ADOHack has been removed. Instead
- /// the Driver should be used because that is what determines how the CommandText and Parameters
- /// have to be built.
- /// </remarks>
- [Obsolete("This method will be removed once ADOHack is gone. The Driver should be used instead.")]
- public virtual string NamedParametersPrefix
- {
- get { return String.Empty; }
- }
-
/// <summary>
--- 501,504 ----
Index: SybaseDialect.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect/SybaseDialect.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** SybaseDialect.cs 11 Jul 2004 21:04:13 -0000 1.9
--- SybaseDialect.cs 19 Aug 2004 17:45:25 -0000 1.10
***************
*** 63,75 ****
}
- [Obsolete("See the Dialect class for reason")]
- public override bool UseNamedParameters {
- get { return true; }
- }
-
- [Obsolete("See the Dialect class for reason")]
- public override string NamedParametersPrefix {
- get { return "@"; }
- }
}
}
\ No newline at end of file
--- 63,66 ----
Index: MsSql2000Dialect.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** MsSql2000Dialect.cs 16 Aug 2004 05:21:12 -0000 1.15
--- MsSql2000Dialect.cs 19 Aug 2004 17:45:25 -0000 1.16
***************
*** 113,129 ****
{
get { return "DEFAULT VALUES"; }
! }
!
! [Obsolete("See the Dialect class for reason")]
! public override bool UseNamedParameters
! {
! get { return true; }
! }
!
! [Obsolete("See the Dialect class for reason")]
! public override string NamedParametersPrefix
! {
! get { return "@"; }
! }
public override int MaxAnsiStringSize
--- 113,117 ----
{
get { return "DEFAULT VALUES"; }
! }
public override int MaxAnsiStringSize
|