Author: anagappan
Date: 2007-09-26 09:44:54 -0400 (Wed, 26 Sep 2007)
New Revision: 86394

Modified:
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/ChangeLog
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/Format.cs
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlFacetAttribute.cs
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlMethodAttribute.cs
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlTriggerContext.cs
   
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
   
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
   
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SystemDataAccessKind.cs
   trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/TriggerAction.cs
Log:
* SqlMethodAttribute.cs: Added appropriate option to AttributeUsage.

* SqlFacetAttribute.cs: Added appropriate option to AttributeUsage.

* Format.cs: Removed extra enum entries.

* SqlTriggerContext.cs: Code Alignment.

* TriggerAction.cs: Updated appropriate enum entries based on 2.0
  profile.

* SqlUserDefinedTypeAttribute.cs: Added appropriate option to
  AttributeUsage.
  * Removed public variable.
  * Removed set from Format property.

* SystemDataAccessKind.cs: Added Serializable attribute.

* SqlUserDefinedAggregateAttribute.cs: Removed set from Format
  property.

Modified: trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/ChangeLog    
2007-09-26 13:37:02 UTC (rev 86393)
+++ trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/ChangeLog    
2007-09-26 13:44:54 UTC (rev 86394)
@@ -1,5 +1,28 @@
 2007-09-26  Nagappan A <[EMAIL PROTECTED]> 
 
+       * SqlMethodAttribute.cs: Added appropriate option to AttributeUsage.
+       
+       * SqlFacetAttribute.cs: Added appropriate option to AttributeUsage.
+       
+       * Format.cs: Removed extra enum entries.
+       
+       * SqlTriggerContext.cs: Code Alignment.
+       
+       * TriggerAction.cs: Updated appropriate enum entries based on 2.0
+         profile.
+       
+       * SqlUserDefinedTypeAttribute.cs: Added appropriate option to
+         AttributeUsage.
+         * Removed public variable.
+         * Removed set from Format property.
+       
+       * SystemDataAccessKind.cs: Added Serializable attribute.
+       
+       * SqlUserDefinedAggregateAttribute.cs: Removed set from Format
+         property.
+
+2007-09-26  Nagappan A <[EMAIL PROTECTED]> 
+
        * DataAccessKind.cs: Added serializable attribute.
 
 2006-02-17  Chris Toshok  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/Format.cs
===================================================================
--- trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/Format.cs    
2007-09-26 13:37:02 UTC (rev 86393)
+++ trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/Format.cs    
2007-09-26 13:44:54 UTC (rev 86394)
@@ -36,10 +36,8 @@
        public enum Format
        {
                Unknown,
-               UserDefined,
                Native,
-               SerializedData,
-               SerializedDataWithMetadata
+               UserDefined
        }
 }
 

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlFacetAttribute.cs
===================================================================
--- trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlFacetAttribute.cs 
2007-09-26 13:37:02 UTC (rev 86393)
+++ trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlFacetAttribute.cs 
2007-09-26 13:44:54 UTC (rev 86394)
@@ -32,8 +32,7 @@
 using System;
 
 namespace Microsoft.SqlServer.Server {
-       [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, 
Inherited = false)]
-       [Serializable]
+       [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field | 
AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = 
false, Inherited = false)]
        public class SqlFacetAttribute : Attribute
        {
                #region Fields

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlMethodAttribute.cs
===================================================================
--- 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlMethodAttribute.cs    
    2007-09-26 13:37:02 UTC (rev 86393)
+++ 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlMethodAttribute.cs    
    2007-09-26 13:44:54 UTC (rev 86394)
@@ -36,7 +36,7 @@
 using System;
 
 namespace Microsoft.SqlServer.Server {
-       [AttributeUsage (AttributeTargets.Method | AttributeTargets.Property, 
AllowMultiple = false, Inherited = false)]
+       [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, 
Inherited = false)]
        [Serializable]
        public sealed class SqlMethodAttribute : SqlFunctionAttribute
        {

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlTriggerContext.cs
===================================================================
--- trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlTriggerContext.cs 
2007-09-26 13:37:02 UTC (rev 86393)
+++ trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlTriggerContext.cs 
2007-09-26 13:44:54 UTC (rev 86394)
@@ -57,7 +57,7 @@
 
                #region Properties
 
-               public int CoulmnCount {
+               public int ColumnCount {
                        get {
                                 return this.columnsUpdated == null ? 0 : 
columnsUpdated.Length; 
                        }

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
===================================================================
--- 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
  2007-09-26 13:37:02 UTC (rev 86393)
+++ 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
  2007-09-26 13:44:54 UTC (rev 86394)
@@ -56,7 +56,7 @@
 
                public SqlUserDefinedAggregateAttribute (Format f)
                {
-                       Format = f;
+                       format = f;
                        IsInvariantToDuplicates = false;
                        IsInvariantToNulls = false;
                        IsInvariantToOrder = false;
@@ -70,7 +70,6 @@
 
                public Format Format { 
                        get { return format; }
-                       set { format = value; }
                }
 
                public bool IsInvariantToDuplicates {

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
===================================================================
--- 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
       2007-09-26 13:37:02 UTC (rev 86393)
+++ 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
       2007-09-26 13:44:54 UTC (rev 86394)
@@ -36,12 +36,12 @@
 using System;
 
 namespace Microsoft.SqlServer.Server {
-       [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, 
AllowMultiple = false, Inherited = false)]
+       [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, 
AllowMultiple = false, Inherited = true)]
        public sealed class SqlUserDefinedTypeAttribute : Attribute
        {
                #region Fields
 
-               public const int MaxByteSizeValue = 8000;
+               const int MaxByteSizeValue = 8000;
 
                Format format;
                bool isByteOrdered;
@@ -54,7 +54,7 @@
 
                public SqlUserDefinedTypeAttribute (Format f)
                {
-                       Format = f;
+                       format = f;
                        IsByteOrdered = false;
                        IsFixedLength = false;
                        MaxByteSize = MaxByteSizeValue;
@@ -66,7 +66,6 @@
 
                public Format Format { 
                        get { return format; }
-                       set { format = value; }
                }
 
                public bool IsByteOrdered {

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SystemDataAccessKind.cs
===================================================================
--- 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SystemDataAccessKind.cs  
    2007-09-26 13:37:02 UTC (rev 86393)
+++ 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/SystemDataAccessKind.cs  
    2007-09-26 13:44:54 UTC (rev 86394)
@@ -32,8 +32,10 @@
 //
 
 #if NET_2_0
+using System;
 
 namespace Microsoft.SqlServer.Server {
+       [Serializable]
        public enum SystemDataAccessKind
        {
                None,

Modified: 
trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/TriggerAction.cs
===================================================================
--- trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/TriggerAction.cs     
2007-09-26 13:37:02 UTC (rev 86393)
+++ trunk/mcs/class/System.Data/Microsoft.SqlServer.Server/TriggerAction.cs     
2007-09-26 13:44:54 UTC (rev 86394)
@@ -69,7 +69,7 @@
                CreateRole = 134,
                CreateRoute = 164,
                CreateSchema = 141,
-               CreateSecexpr = 31,
+               CreateSecurityExpression = 31,
                CreateService = 161,
                CreateSynonym = 34,
                CreateTable = 21,
@@ -95,7 +95,7 @@
                DropRole = 136,
                DropRoute = 166,
                DropSchema = 143,
-               DropSecexpr = 33,
+               DropSecurityExpression = 33,
                DropService = 163,
                DropSynonym = 36,
                DropTable = 23,

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

Reply via email to