blob: baf702167f4408e35e6fedad59c57c7732f1102f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//
// System.Data.Common.DbDataPermissionAttribute.cs
//
// Author:
// Rodrigo Moya (rodrigo@ximian.com)
//
// (C) Ximian, Inc
//
namespace System.Data.Common
{
/// <summary>
/// Associates a security action with a custom security attribute.
/// </summary>
public abstract class DBDataPermissionAttribute : CodeAccessSecurityAttribute
{
private SecurityAction securityAction;
private bool allowBlankPassword;
protected DBDataPermissionAttribute(SecurityAction action) {
this.securityAction = action;
this.allowBlankPassword = false;
}
public bool AllowBlankPassword {
get {
return this.allowBlankPassword;
}
set {
this.allowBlankPassword = value;
}
}
}
}
|