15 references to AllowOnly
System.Data (15)
fx\src\data\System\Data\Common\DBConnectionString.cs (9)
68
: this(connectionOptions, (string)null, KeyRestrictionBehavior.
AllowOnly
, (Hashtable)null, true)
78
case KeyRestrictionBehavior.
AllowOnly
:
192
behavior = KeyRestrictionBehavior.
AllowOnly
;
195
behavior = KeyRestrictionBehavior.
AllowOnly
;
197
if (KeyRestrictionBehavior.
AllowOnly
== entry._behavior) { // this PreventUsage and entry AllowOnly
269
if (componentSet._behavior == KeyRestrictionBehavior.
AllowOnly
) {
270
if (combinedSet._behavior == KeyRestrictionBehavior.
AllowOnly
) {
285
if (combinedSet._behavior == KeyRestrictionBehavior.
AllowOnly
) {
317
case KeyRestrictionBehavior.
AllowOnly
:
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
301
KeyRestrictionBehavior behavior = KeyRestrictionBehavior.
AllowOnly
;
fx\src\data\System\Data\Common\DBDataPermissionAttribute.cs (1)
64
case KeyRestrictionBehavior.
AllowOnly
:
fx\src\data\System\Data\Odbc\OdbcPermission.cs (1)
42
base.Add(ADP.StrEmpty, ADP.StrEmpty, KeyRestrictionBehavior.
AllowOnly
);
fx\src\data\System\Data\OleDb\OleDbPermission.cs (1)
45
base.Add(ADP.StrEmpty, ADP.StrEmpty, KeyRestrictionBehavior.
AllowOnly
);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
194
p.Add(String.Empty, String.Empty, KeyRestrictionBehavior.
AllowOnly
);
fx\src\data\System\Data\SqlClient\SqlClientPermission.cs (1)
40
base.Add(ADP.StrEmpty, ADP.StrEmpty, KeyRestrictionBehavior.
AllowOnly
);