internal override bool SetInnerConnectionFrom(DbConnection owningObject, DbConnectionInternal to, DbConnectionInternal from) { OleDbConnection c = (owningObject as OleDbConnection); if (null != c) { return(c.SetInnerConnectionFrom(to, from)); } return(false); }
internal override bool SetInnerConnectionFrom(DbConnection owningObject, DbConnectionInternal to, DbConnectionInternal from) { OleDbConnection connection = owningObject as OleDbConnection; return((connection != null) && connection.SetInnerConnectionFrom(to, from)); }