Author: marek
Date: 2007-08-24 06:13:10 -0400 (Fri, 24 Aug 2007)
New Revision: 84787

Added:
   trunk/olive/class/System.Data.Linq/System.Data.Linq/IExecuteResult.cs
   trunk/olive/class/System.Data.Linq/System.Data.Linq/IMultipleResults.cs
Removed:
   
trunk/olive/class/System.Data.Linq/System.Data.Linq/StoredProcedureAttribute.cs
Modified:
   trunk/olive/class/System.Data.Linq/System.Data.Linq/ChangeLog
   trunk/olive/class/System.Data.Linq/System.Data.Linq/DataContext.cs
   trunk/olive/class/System.Data.Linq/System.Data.Linq/Schema.cs
   trunk/olive/class/System.Data.Linq/System.Data.Linq/Table_T.cs
   trunk/olive/class/System.Data.Linq/System.Data.Linq/XmlColumnMapping.cs
Log:
2007-08-24  Marek Safar  <[EMAIL PROTECTED]>

        * *.cs: Some Beta 2 updates.
        


Modified: trunk/olive/class/System.Data.Linq/System.Data.Linq/ChangeLog
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/ChangeLog       
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/ChangeLog       
2007-08-24 10:13:10 UTC (rev 84787)
@@ -1,3 +1,7 @@
+2007-08-24  Marek Safar  <[EMAIL PROTECTED]>
+
+       * *.cs: Some Beta 2 updates.
+
 2007-03-29  Antonello Provenzano  <[EMAIL PROTECTED]>
 
        * DataContext.cs: implementations
@@ -6,4 +10,4 @@
        
 2007-03-24  Antonello Provenzano  <[EMAIL PROTECTED]>
 
-       * Initial commit
\ No newline at end of file
+       * Initial commit

Modified: trunk/olive/class/System.Data.Linq/System.Data.Linq/DataContext.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/DataContext.cs  
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/DataContext.cs  
2007-08-24 10:13:10 UTC (rev 84787)
@@ -22,13 +22,14 @@
 
 using System.Collections;
 using System.Collections.Generic;
+using System.Data.Linq.Mapping;
 using System.Data.Linq.Provider;
 using System.IO;
 using System.Linq;
 
 namespace System.Data.Linq
 {
-    public class DataContext : ICloneable, IDisposable
+    public class DataContext : IDisposable
     {
         #region .ctor
         public DataContext(IDbConnection connection, MappingSource mapping)
@@ -153,11 +154,6 @@
         #endregion
 
         #region Public Methods
-        public object Clone()
-        {
-            return new DataContext(Connection, mapping);
-        }
-
         public void CreateDatabase()
         {
             CheckIsDisposed();

Added: trunk/olive/class/System.Data.Linq/System.Data.Linq/IExecuteResult.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/IExecuteResult.cs       
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/IExecuteResult.cs       
2007-08-24 10:13:10 UTC (rev 84787)
@@ -0,0 +1,35 @@
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+//
+// Authors:
+//        Antonello Provenzano  <[EMAIL PROTECTED]>
+//
+
+namespace System.Data.Linq
+{
+    public interface IExecuteResult
+    {
+        #region Properties
+        object ReturnValue { get; }
+        #endregion
+
+        #region Methods
+        object GetParameterValue(int parameterIndex);
+        #endregion
+    }
+}


Property changes on: 
trunk/olive/class/System.Data.Linq/System.Data.Linq/IExecuteResult.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/olive/class/System.Data.Linq/System.Data.Linq/IMultipleResults.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/IMultipleResults.cs     
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/IMultipleResults.cs     
2007-08-24 10:13:10 UTC (rev 84787)
@@ -0,0 +1,33 @@
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+//
+// Authors:
+//        Antonello Provenzano  <[EMAIL PROTECTED]>
+//
+
+using System.Collections.Generic;
+
+namespace System.Data.Linq
+{
+    public interface IMultipleResults : IDisposable
+    {
+        #region Methods
+        IEnumerable<TElement> GetResult<TElement>();
+        #endregion
+    }
+}


Property changes on: 
trunk/olive/class/System.Data.Linq/System.Data.Linq/IMultipleResults.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/olive/class/System.Data.Linq/System.Data.Linq/Schema.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/Schema.cs       
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/Schema.cs       
2007-08-24 10:13:10 UTC (rev 84787)
@@ -46,7 +46,7 @@
         #endregion
 
         #region Protected Methods
-        protected IExecuteResults ExecuteMethodCall(object instance, 
MethodInfo methodInfo, params object[] parameters)
+        protected IExecuteResult ExecuteMethodCall(object instance, MethodInfo 
methodInfo, params object[] parameters)
         {
             //TODO:
             throw new NotImplementedException();
@@ -65,4 +65,4 @@
         }
         #endregion
     }
-}
\ No newline at end of file
+}

Deleted: 
trunk/olive/class/System.Data.Linq/System.Data.Linq/StoredProcedureAttribute.cs
===================================================================
--- 
trunk/olive/class/System.Data.Linq/System.Data.Linq/StoredProcedureAttribute.cs 
    2007-08-24 10:10:53 UTC (rev 84786)
+++ 
trunk/olive/class/System.Data.Linq/System.Data.Linq/StoredProcedureAttribute.cs 
    2007-08-24 10:13:10 UTC (rev 84787)
@@ -1,24 +0,0 @@
-namespace System.Data.Linq
-{
-    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
-    public sealed class StoredProcedureAttribute : Attribute
-    {
-        #region .ctor
-        public StoredProcedureAttribute()
-        {
-        }
-        #endregion
-
-        #region Fields
-        private string name;
-        #endregion
-
-        #region Properties
-        public string Name
-        {
-            get { return name; }
-            set { name = value; }
-        }
-        #endregion
-    }
-}
\ No newline at end of file

Modified: trunk/olive/class/System.Data.Linq/System.Data.Linq/Table_T.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/Table_T.cs      
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/Table_T.cs      
2007-08-24 10:13:10 UTC (rev 84787)
@@ -1,4 +1,4 @@
-// Permission is hereby granted, free of charge, to any person obtaining
+// Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // "Software"), to deal in the Software without restriction, including
 // without limitation the rights to use, copy, modify, merge, publish,
@@ -23,7 +23,7 @@
 using System.Collections;
 using System.Collections.Generic;
 using System.ComponentModel;
-using System.Data.Linq.Provider;
+using System.Data.Linq.Mapping;
 using System.Linq;
 using System.Linq.Expressions;
 
@@ -93,33 +93,12 @@
         {
             get { return null; }
         }
-
-        IQueryable IQueryable.CreateQuery(Expression expression)
-        {
-            if (expression == null)
-                throw new ArgumentNullException("expression");
-
-            //TODO:
-            throw new NotImplementedException();
-        }
-
-        IQueryable<S> IQueryable<T>.CreateQuery<S>(Expression expression)
-        {
-            //TODO:
-            throw new NotImplementedException();
-        }
-
-        S IQueryable<T>.Execute<S>(Expression expression)
-        {
-            //TODO:
-            throw new NotImplementedException();
-        }
-
-        object IQueryable.Execute(Expression expression)
-        {
-            //TODO:
-            throw new NotImplementedException();
-        }
+        
+       public IQueryProvider Provider {
+               get {
+                       throw new NotImplementedException ();
+               }
+       }        
         #endregion
 
         #region ICollection Implementations
@@ -166,4 +145,4 @@
         }
         #endregion
     }
-}
\ No newline at end of file
+}

Modified: 
trunk/olive/class/System.Data.Linq/System.Data.Linq/XmlColumnMapping.cs
===================================================================
--- trunk/olive/class/System.Data.Linq/System.Data.Linq/XmlColumnMapping.cs     
2007-08-24 10:10:53 UTC (rev 84786)
+++ trunk/olive/class/System.Data.Linq/System.Data.Linq/XmlColumnMapping.cs     
2007-08-24 10:13:10 UTC (rev 84787)
@@ -21,7 +21,7 @@
 //
 
 namespace System.Data.Linq
-{
+{/*
     class XmlColumnMapping : XmlMemberMapping
     {
         #region .ctor
@@ -99,4 +99,5 @@
         }
         #endregion
     }
-}
\ No newline at end of file
+    */
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to