mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
* 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
svn path=/trunk/mcs/; revision=21366
82 lines
1.6 KiB
C#
82 lines
1.6 KiB
C#
//
|
|
// System.Data.Sql.SqlUserDefinedAggregateAttribute
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2003
|
|
//
|
|
|
|
#if NET_1_2
|
|
|
|
using System;
|
|
|
|
namespace System.Data.Sql {
|
|
[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 f)
|
|
{
|
|
Format = f;
|
|
IsInvariantToDuplicates = false;
|
|
IsInvariantToNulls = false;
|
|
IsInvariantToOrder = false;
|
|
IsNullIfEmpty = false;
|
|
MaxByteSize = MaxByteSizeValue;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public Format Format {
|
|
get { return format; }
|
|
set { format = value; }
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
#endif
|