2 writes to _providerFactory
System.Web (2)
UI\WebControls\SqlDataSource.cs (2)
421
_providerFactory
= null;
942
_providerFactory
= GetDbProviderFactory();
5 references to _providerFactory
System.Web (5)
UI\WebControls\SqlDataSource.cs (5)
941
if (
_providerFactory
== null) {
944
Debug.Assert(
_providerFactory
!= null);
948
if (!HttpRuntime.ProcessRequestInApplicationTrust && !HttpRuntime.HasDbPermission(
_providerFactory
)) {
949
throw new HttpException(SR.GetString(SR.SqlDataSource_NoDbPermission,
_providerFactory
.GetType().Name, ID));
953
return
_providerFactory
;