+++ /dev/null
-//
-// Microsoft.SqlServer.Server.DataAccessKind
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [Serializable]
- public enum DataAccessKind
- {
- None,
- Read
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.Format
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-namespace Microsoft.SqlServer.Server {
- public enum Format
- {
- Unknown,
- Native,
- UserDefined
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.IBinarySerialize
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System.IO;
-
-namespace Microsoft.SqlServer.Server {
- public interface IBinarySerialize
- {
- #region Methods
-
- void Read (BinaryReader r);
- void Write (BinaryWriter w);
-
- #endregion // Methods
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.InvalidUdtException
-//
-// Authors:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-using System.Runtime.Serialization;
-
-namespace Microsoft.SqlServer.Server {
- [Serializable]
- public sealed class InvalidUdtException : SystemException
- {
- #region constructors
-
- [MonoTODO]
- internal InvalidUdtException ()
- {}
-
- [MonoTODO]
- internal InvalidUdtException (string message)
- {}
-
- [MonoTODO]
- internal InvalidUdtException (string message, Exception innerException)
- {}
-
- [MonoTODO]
- internal InvalidUdtException (Type t, string reason)
- {}
-
- #endregion
-
-
- #region methods
-
- [MonoTODO]
- public override void GetObjectData (SerializationInfo si, StreamingContext context)
- {}
- #endregion
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlFacetAttribute
-//
-// Author:
-// Umadevi S (sumadevi@novell.com)
-//
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = false)]
- public class SqlFacetAttribute : Attribute
- {
- #region Fields
-
- bool isFixedLength;
- bool isNullable;
- int maxSize;
- int precision;
- int scale;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlFacetAttribute ()
- {
- isFixedLength = false;
- isNullable = false;
- maxSize = 0;
- precision = 0;
- scale = 0;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public bool IsFixedLength {
- get { return isFixedLength; }
- set { isFixedLength = value; }
- }
-
- public bool IsNullable {
- get { return isNullable; }
- set { isNullable = value; }
- }
-
- public int MaxSize {
- get { return maxSize; }
- set { maxSize = value; }
- }
-
- public int Precision {
- get { return precision; }
- set { precision = value; }
- }
-
- public int Scale {
- get { return scale; }
- set { scale = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlFunctionAttribute
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
- [Serializable]
- public class SqlFunctionAttribute : Attribute
- {
- #region Fields
-
- DataAccessKind dataAccess;
- bool isDeterministic;
- bool isPrecise;
- SystemDataAccessKind systemDataAccess;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlFunctionAttribute ()
- {
- dataAccess = DataAccessKind.None;
- isDeterministic = false;
- isPrecise = false;
- systemDataAccess = SystemDataAccessKind.None;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public DataAccessKind DataAccess {
- get { return dataAccess; }
- set { dataAccess = value; }
- }
-
- public bool IsDeterministic {
- get { return isDeterministic; }
- set { isDeterministic = value; }
- }
-
- public bool IsPrecise {
- get { return isPrecise; }
- set { isPrecise = value; }
- }
-
- public SystemDataAccessKind SystemDataAccess {
- get { return systemDataAccess; }
- set { systemDataAccess = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlMethodAttribute
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
- [Serializable]
- public sealed class SqlMethodAttribute : SqlFunctionAttribute
- {
- #region Fields
-
- bool isMutator;
- bool onNullCall;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlMethodAttribute ()
- : base ()
- {
- isMutator = false;
- onNullCall = false;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public bool IsMutator {
- get { return isMutator; }
- set { isMutator = value; }
- }
-
- public bool OnNullCall {
- get { return onNullCall; }
- set { onNullCall = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlProcedureAttribute
-//
-// Author:
-// Umadevi S (sumadevi@novell.com)
-//
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
- [Serializable]
- public sealed class SqlProcedureAttribute : Attribute
- {
- #region Fields
-
- private string name;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlProcedureAttribute ()
- : base ()
- {
- this.name = null;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public string Name{
- get { return this.name; }
- set { this.name = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlTriggerAttribute
-//
-// Author:
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
- [Serializable]
- public sealed class SqlTriggerAttribute : Attribute
- {
- #region Fields
-
- private string triggerEvent;
- private string name;
- private string target;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlTriggerAttribute ()
- : base ()
- {
- this.triggerEvent = null;
- this.name = null;
- this.target = null;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public string Event {
- get { return this.triggerEvent; }
- set { this.triggerEvent = value; }
- }
-
- public string Name {
- get { return this.name; }
- set { this.name = value; }
- }
-
- public string Target {
- get { return this.target; }
- set { this.target = value; }
- }
-
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlTriggerContext.cs
-//
-// Author:
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-using System.Data.SqlTypes;
-
-namespace Microsoft.SqlServer.Server {
-
- public sealed class SqlTriggerContext
- {
- #region Fields
-
- private TriggerAction triggerAction;
- private bool[] columnsUpdated;
- private SqlXml eventData;
-
- #endregion // Fields
-
- #region Constructors
-
- internal SqlTriggerContext (TriggerAction triggerAction, bool[] columnsUpdated,
- SqlXml eventData)
- {
- this.triggerAction = triggerAction;
- this.columnsUpdated = columnsUpdated;
- this.eventData = eventData;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public int ColumnCount {
- get {
- return this.columnsUpdated == null ? 0 : columnsUpdated.Length;
- }
- }
-
- public SqlXml EventData {
- get { return this.eventData; }
- }
-
- public TriggerAction TriggerAction {
- get { return this.triggerAction; }
- }
-
-
- #endregion // Properties
-
- #region Methods
-
- public bool IsUpdatedColumn (int columnOrdinal)
- {
- if (columnsUpdated == null)
- throw new IndexOutOfRangeException("The index specified does not exist");
-
- return this.columnsUpdated[columnOrdinal];
- }
-
- #endregion //Methods
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlUserDefinedAggregateAttribute
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
- public sealed class SqlUserDefinedAggregateAttribute : Attribute
- {
- #region Fields
-
- public const int MaxByteSizeValue = 8000;
-
- Format format;
- bool isInvariantToDuplicates;
- bool isInvariantToNulls;
- bool isInvariantToOrder;
- bool isNullIfEmpty;
- int maxByteSize;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlUserDefinedAggregateAttribute (Format format)
- {
- this.format = format;
- IsInvariantToDuplicates = false;
- IsInvariantToNulls = false;
- IsInvariantToOrder = false;
- IsNullIfEmpty = false;
- MaxByteSize = MaxByteSizeValue;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public Format Format {
- get { return format; }
- }
-
- public bool IsInvariantToDuplicates {
- get { return isInvariantToDuplicates; }
- set { isInvariantToDuplicates = value; }
- }
-
- public bool IsInvariantToNulls {
- get { return isInvariantToNulls; }
- set { isInvariantToNulls = value; }
- }
-
- public bool IsInvariantToOrder {
- get { return isInvariantToOrder; }
- set { isInvariantToOrder = value; }
- }
-
- public bool IsNullIfEmpty {
- get { return isNullIfEmpty; }
- set { isNullIfEmpty = value; }
- }
-
- public int MaxByteSize {
- get { return maxByteSize; }
- set { maxByteSize = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
- public sealed class SqlUserDefinedTypeAttribute : Attribute
- {
- #region Fields
-
- const int MaxByteSizeValue = 8000;
-
- Format format;
- bool isByteOrdered;
- bool isFixedLength;
- int maxByteSize;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlUserDefinedTypeAttribute (Format format)
- {
- this.format = format;
- IsByteOrdered = false;
- IsFixedLength = false;
- MaxByteSize = MaxByteSizeValue;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public Format Format {
- get { return format; }
- }
-
- public bool IsByteOrdered {
- get { return isByteOrdered; }
- set { isByteOrdered = value; }
- }
-
- public bool IsFixedLength {
- get { return isFixedLength; }
- set { isFixedLength = value; }
- }
-
- public int MaxByteSize {
- get { return maxByteSize; }
- set { maxByteSize = value; }
- }
-
- #endregion // Properties
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.SystemDataAccessKind
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace Microsoft.SqlServer.Server {
- [Serializable]
- public enum SystemDataAccessKind
- {
- None,
- Read
- }
-}
-
+++ /dev/null
-//
-// Microsoft.SqlServer.Server.TriggerAction
-//
-// Authors:
-// Tim Coleman (tim@timcoleman.com)
-// Umadevi S (sumadevi@novell.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-namespace Microsoft.SqlServer.Server {
- public enum TriggerAction
- {
- AlterAppRole = 138,
- AlterAssembly = 102,
- AlterBinding = 175,
- AlterFunction = 62,
- AlterIndex = 25,
- AlterLogin = 145,
- AlterPartitionFunction = 192,
- AlterPartitionScheme = 195,
- AlterProcedure = 52,
- AlterQueue = 158,
- AlterRole = 135,
- AlterRoute = 165,
- AlterSchema = 142,
- AlterService = 162,
- AlterTable = 22,
- AlterTrigger = 72,
- AlterUser = 132,
- AlterView = 42,
- CreateAppRole = 137,
- CreateAssembly = 101,
- CreateBinding = 174,
- CreateContract = 154,
- CreateEventNotification = 74,
- CreateFunction = 61,
- CreateIndex = 24,
- CreateLogin = 144,
- CreateMsgType = 151,
- CreatePartitionFunction = 191,
- CreatePartitionScheme = 194,
- CreateProcedure = 51,
- CreateQueue = 157,
- CreateRole = 134,
- CreateRoute = 164,
- CreateSchema = 141,
- CreateSecurityExpression = 31,
- CreateService = 161,
- CreateSynonym = 34,
- CreateTable = 21,
- CreateTrigger = 71,
- CreateType = 91,
- CreateUser = 131,
- CreateView = 41,
- Delete = 3,
- DenyObject = 171,
- DropAppRole = 139,
- DropAssembly = 103,
- DropBinding = 176,
- DropContract = 156,
- DropEventNotification = 76,
- DropFunction = 63,
- DropIndex = 26,
- DropLogin = 146,
- DropMsgType = 153,
- DropPartitionFunction = 193,
- DropPartitionScheme = 196,
- DropProcedure = 53,
- DropQueue = 159,
- DropRole = 136,
- DropRoute = 166,
- DropSchema = 143,
- DropSecurityExpression = 33,
- DropService = 163,
- DropSynonym = 36,
- DropTable = 23,
- DropTrigger = 73,
- DropType = 93,
- DropUser = 133,
- DropView = 43,
- GrantObject = 170,
- GrantStatement = 167,
- Insert = 1,
- Invalid = 0,
- RevokeObject = 172,
- RevokeStatement = 169,
- Update = 2
- }
-}
-
+++ /dev/null
-2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
-
- * SqlNotificationRequest.cs: Implemented ctors, and fixed
- argument checks.
-
-2006-02-17 Chris Toshok <toshok@ximian.com>
-
- * SqlNotificationRequest.cs: class is sealed, and s/id/userData
- and s/service/options.
-
- * SqlDataSourceEnumerator.cs: ctor is private (for use with
- Instance property, which is currently not implemented.) Also,
- remove set_Instance.
-
-2005-09-02 Umadevi S <sumadevi@novell.com>
- * Removed Files
- SerializationHelper.cs,DataAccessKind.cs,SerializationVersion.cs,Format.cs,
- SqlContextBase.cs,IBinarySerialize.cs,InvalidUdtException.cs,SqlDefinition.cs,
- ISqlCommand.cs,SqlFacetAttribute.cs,ISqlConnection.cs,SqlFunctionAttribute.cs,
- ISqlExecutionContext.cs,SqlMetaData.cs,ISqlGetTypedData.cs, SqlMethodAttribute.cs,
- ISqlParameterCollection.cs,ISqlParameter.cs,SqlPipeBase.cs,ISqlReader.cs,
- SqlServerFactoryBase.cs,ISqlRecord.cs,SqlTriggerContextBase.cs,ISqlResultSet.cs,
- SqlUserDefinedAggregateAttribute.cs,ISqlSetTypedData.cs,SqlUserDefinedTypeAttribute.cs,
- ISqlTransaction.cs,ISqlUpdatableRecord.cs,SystemDataAccessKind.cs,
- IUdtSerializationContext.cs,TriggerAction.cs
-
-
-2004-07-13 Umadevi S <sumadevi@novell.com>
- * TriggerAction.cs - Added enum values
-
-2004-07-09 Umadevi S <sumadevi@novell.com>
- * Modified classes ISqlCommand.cs, ISqlConnection.cs,ISqlExecutionContext.cs, InvalidUdtException.cs,TriggerAction.cs : Added missing methods,properties,constructors
-
-2004-07-09 Umadevi S <sumadevi@novell.com>
- * Added IUdtSerializationContext.cs, SqlFacetAttribute.cs
-
-2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
-
- * ISqlParameterCollection.cs : Obsolete attribute requires usingdecl.
-
-2003-12-19 Tim Coleman <tim@timcoleman.com>
- * DataAccessKind.cs Format.cs IBinarySerialize.cs
- * InvalidUdtException.cs ISqlCommand.cs ISqlConnection.cs
- * ISqlExecutionContext.cs ISqlGetTypedData.cs
- * ISqlParameterCollection.cs ISqlParameter.cs ISqlReader.cs
- * ISqlRecord.cs ISqlResultSet.cs ISqlSetTypedData.cs
- * ISqlTransaction.cs ISqlUpdatableRecord.cs SerializationHelper.cs
- * SerializationVersion.cs SqlContextBase.cs SqlDataSourceEnumerator.cs
- * SqlDefinition.cs SqlFunctionAttribute.cs SqlMetaData.cs
- * SqlMethodAttribute.cs SqlNotificationRequest.cs SqlPipeBase.cs
- * SqlServerFactoryBase.cs SqlTriggerContextBase.cs
- * SqlUserDefinedAggregateAttribute.cs SqlUserDefinedTypeAttribute.cs
- * SystemDataAccessKind.cs TriggerAction.cs:
- New stubs added
+++ /dev/null
-//
-// System.Data.Sql.SqlNotificationRequest
-//
-// Author:
-// Tim Coleman (tim@timcoleman.com)
-//
-// Copyright (C) Tim Coleman, 2003
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// 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
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-
-namespace System.Data.Sql
-{
- public sealed class SqlNotificationRequest
- {
- #region Fields
-
- string userData;
- string options;
- int timeout;
-
- #endregion // Fields
-
- #region Constructors
-
- public SqlNotificationRequest ()
- {
- }
-
- public SqlNotificationRequest (string userData, string options, int timeout)
- {
- UserData = userData;
- Options = options;
- Timeout = timeout;
- }
-
- #endregion // Constructors
-
- #region Properties
-
- public string UserData {
- get { return userData; }
- set {
- if (value != null && value.Length > 0xffff)
- throw new ArgumentOutOfRangeException (
- "UserData");
- userData = value;
- }
- }
-
- public string Options {
- get { return options; }
- set {
- if (value != null && value.Length > 0xffff)
- throw new ArgumentOutOfRangeException (
- "Service");
- options = value;
- }
- }
-
- public int Timeout {
- get { return timeout; }
- set {
- if (value < 0)
- throw new ArgumentOutOfRangeException (
- "Timeout");
- timeout = value;
- }
- }
-
- #endregion // Properties
- }
-}
-
ReferenceSources/mobile_DbConnectionPoolCounters.cs
-System.Data.Sql/SqlNotificationRequest.cs
-Microsoft.SqlServer.Server/Format.cs
-Microsoft.SqlServer.Server/DataAccessKind.cs
-Microsoft.SqlServer.Server/IBinarySerialize.cs
-Microsoft.SqlServer.Server/InvalidUdtException.cs
-Microsoft.SqlServer.Server/SqlFunctionAttribute.cs
Microsoft.SqlServer.Server/SqlMetaData.cs
-Microsoft.SqlServer.Server/SqlMethodAttribute.cs
-Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
-Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
-Microsoft.SqlServer.Server/SystemDataAccessKind.cs
-Microsoft.SqlServer.Server/SqlFacetAttribute.cs
-Microsoft.SqlServer.Server/TriggerAction.cs
-Microsoft.SqlServer.Server/SqlTriggerContext.cs
-Microsoft.SqlServer.Server/SqlProcedureAttribute.cs
-Microsoft.SqlServer.Server/SqlTriggerAttribute.cs
System.Data.SqlClient/SortOrder.cs
System.Data.SqlClient/SqlNotificationType.cs
System.Data.SqlClient/SqlNotificationInfo.cs
../../../external/referencesource/System.Data/bid/inc/cs/bidPrivateBase.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/Baseline.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/EverettBreaking.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/FxCop40Suppressions.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/Triaged.cs
+
+../../../external/referencesource/System.Data/Microsoft/SqlServer/Server/SqlTriggerContext.cs
+
../../../external/referencesource/System.Data/Misc/ExternDll.cs
../../../external/referencesource/System.Data/Misc/HResults.cs
../../../external/referencesource/System.Data/System/Data/AcceptRejectRule.cs
../../../external/referencesource/System.Data/System/NewXml/XmlDataImplementation.cs
../../../external/referencesource/System.Data/System/NewXml/XPathNodePointer.cs
+../../../external/referencesource/System.Data/System/Data/Sql/IBinarySerialize.cs
+../../../external/referencesource/System.Data/System/Data/Sql/invalidudtexception.cs
../../../external/referencesource/System.Data/System/Data/Sql/SqlDataSourceEnumerator.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlFacetAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlFunctionAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlGenericUtil.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlMethodAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlNotificationRequest.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlProcedureAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlTriggerAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlUserDefinedAggregateAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlUserDefinedTypeAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/TriggerAction.cs
../../../external/referencesource/System.Data/System/Data/SqlClient/ApplicationIntent.cs
../../../external/referencesource/System.Data/System/Data/SqlClient/LocalDBAPI.cs
ReferenceSources/Win32NativeMethods.cs
ReferenceSources/SqlInternalConnectionTds.cs
-System.Data.Sql/SqlNotificationRequest.cs
-Microsoft.SqlServer.Server/Format.cs
-Microsoft.SqlServer.Server/DataAccessKind.cs
-Microsoft.SqlServer.Server/IBinarySerialize.cs
-Microsoft.SqlServer.Server/InvalidUdtException.cs
-Microsoft.SqlServer.Server/SqlFunctionAttribute.cs
Microsoft.SqlServer.Server/SqlMetaData.cs
-Microsoft.SqlServer.Server/SqlMethodAttribute.cs
-Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.cs
-Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.cs
-Microsoft.SqlServer.Server/SystemDataAccessKind.cs
-Microsoft.SqlServer.Server/SqlFacetAttribute.cs
-Microsoft.SqlServer.Server/TriggerAction.cs
-Microsoft.SqlServer.Server/SqlTriggerContext.cs
-Microsoft.SqlServer.Server/SqlProcedureAttribute.cs
-Microsoft.SqlServer.Server/SqlTriggerAttribute.cs
System.Data.SqlClient/SortOrder.cs
System.Data.SqlClient/SqlNotificationType.cs
System.Data.SqlClient/SqlNotificationInfo.cs
../../../external/referencesource/System.Data/bid/inc/cs/bidPrivateBase.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/Baseline.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/EverettBreaking.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/FxCop40Suppressions.cs
-../../../external/referencesource/System.Data/FxCopSuppressions/Triaged.cs
+
+../../../external/referencesource/System.Data/Microsoft/SqlServer/Server/SqlTriggerContext.cs
+
../../../external/referencesource/System.Data/Misc/ExternDll.cs
../../../external/referencesource/System.Data/Misc/HResults.cs
../../../external/referencesource/System.Data/Misc/PrivilegedConfigurationManager.cs
+
../../../external/referencesource/System.Data/System/Data/AcceptRejectRule.cs
../../../external/referencesource/System.Data/System/Data/AggregateType.cs
../../../external/referencesource/System.Data/System/Data/BaseCollection.cs
../../../external/referencesource/System.Data/System/NewXml/XmlDataImplementation.cs
../../../external/referencesource/System.Data/System/NewXml/XPathNodePointer.cs
+../../../external/referencesource/System.Data/System/Data/Sql/IBinarySerialize.cs
+../../../external/referencesource/System.Data/System/Data/Sql/invalidudtexception.cs
../../../external/referencesource/System.Data/System/Data/Sql/SqlDataSourceEnumerator.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlFacetAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlFunctionAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlGenericUtil.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlMethodAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlNotificationRequest.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlProcedureAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlTriggerAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlUserDefinedAggregateAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/SqlUserDefinedTypeAttribute.cs
+../../../external/referencesource/System.Data/System/Data/Sql/TriggerAction.cs
../../../external/referencesource/System.Data/System/Data/SqlClient/ApplicationIntent.cs
../../../external/referencesource/System.Data/System/Data/SqlClient/LocalDBAPI.cs
../../../external/referencesource/System.Data/System/Data/SQLTypes/SQLResource.cs
../../../external/referencesource/System.Data/System/Data/SQLTypes/SQLSingle.cs
../../../external/referencesource/System.Data/System/Data/SQLTypes/SQLString.cs
+../../../external/referencesource/System.Data/System/Data/SQLTypes/SqlTypesSchemaImporter.cs
../../../external/referencesource/System.Data/System/Data/SQLTypes/SQLUtility.cs
../../../external/referencesource/System.Data/System/Data/SQLTypes/SqlXml.cs