+2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
+
+ * OdbcDataReader.cs: NextRow (): made private.
+
2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: GetValue (): added case for OdbcType.Bit. and
- Formatting corrections.
+ Formatting corrections. Fixes bug #75574.
2005-07-07 Sureshkumar T <tsureshkumar@novell.com>
/// <remarks>
/// Load the next row in the current result set.
/// </remarks>
- public bool NextRow ()
+ private bool NextRow ()
{
OdbcReturn ret=libodbc.SQLFetch (hstmt);
if (ret != OdbcReturn.Success)
+2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
+
+ * DataView.cs: changed protected members
+ rowstate,rowcache,dataTable to protected internal.
+ * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
+ changed InConstraintViolated to protected internal.
+ * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
+ with NET_2_0 define.
+
2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
* ForeignKeyConstraint.cs:
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
+#if NET_2_0
namespace System.Data {
public enum ConflictOptions
}
}
-
+#endif // NET_2_0
//will throw an exception to prevent the add if a rule is broken
internal abstract void AddToConstraintCollectionSetup (ConstraintCollection collection);
- protected abstract bool IsConstraintViolated ();
+ protected internal abstract bool IsConstraintViolated ();
internal static void ThrowConstraintException(){
throw new ConstraintException("Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.");
[DesignerAttribute ("Microsoft.VSDesigner.Data.VS.DataViewDesigner, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.ComponentModel.Design.IDesigner")]\r
public class DataView : MarshalByValueComponent, IBindingList, IList, ICollection, IEnumerable, ITypedList, ISupportInitialize\r
{\r
- protected DataTable dataTable = null;\r
+ protected internal DataTable dataTable = null;\r
string rowFilter = String.Empty;\r
IExpression rowFilterExpr;\r
string sort = String.Empty;\r
- protected DataViewRowState rowState;\r
- protected DataRowView[] rowCache = new DataRowView [0];\r
+ protected internal DataViewRowState rowState;\r
+ protected internal DataRowView[] rowCache = new DataRowView [0];\r
\r
// BeginInit() support\r
bool isInitPhase = false;\r
//
-
+#if NET_2_0
namespace System.Data {
public enum FillOptions
{
}
}
+#endif // NET_2_0
Index = null;
}
- protected override bool IsConstraintViolated()
+ protected internal override bool IsConstraintViolated()
{
if (Table.DataSet == null || RelatedTable.DataSet == null)
return false;
Index = null;
}
- protected override bool IsConstraintViolated()
+ protected internal override bool IsConstraintViolated()
{
if (Index == null) {
Index = Table.GetIndex(Columns,null,DataViewRowState.None,null,false);
//
-
+#if NET_2_0
namespace System.Data {
public enum UpdateOptions
{
UpdateChildren
}
}
-
+#endif // NET_2_0