src/Shared/EntityFramework.SqlServerCompact/RemoteProviderHelper.cs
// <summary>
// Convinience method to load the type specific to Remote Provider
// </summary>
Convinience method to load the type specific to Remote Provider
Convinience method to load the type specific to Remote Provider
internal static Type GetRemoteProviderType(string typeName)
        {
            if (_isFirst)
            {
                try
                {
                    var assemblyName = ConstructFullAssemblyName(RemoteDataProviderAssembly);
                    _rdp = Assembly.Load(assemblyName);
                }
                catch (FileNotFoundException)
                {
                }
                catch (FileLoadException)
                {
                }
                catch (BadImageFormatException)
                {
                }
                _isFirst = false;
            }
            return (null == _rdp) ? null : _rdp.GetType(typeName, false);
        }
internal static Type GetRemoteProviderType ( string typeName ) { if ( _isFirst ) { try { var assemblyName = ConstructFullAssemblyName ( RemoteDataProviderAssembly ) ; _rdp = Assembly . Load ( assemblyName ) ; } catch ( FileNotFoundException ) { } catch ( FileLoadException ) { } catch ( BadImageFormatException ) { } _isFirst = false ; } return ( null == _rdp ) ? null : _rdp . GetType ( typeName , false ) ; }
Convinience method to load the type specific to Remote Provider
Convinience method to load the type specific to Remote Provider
//user should not be informed about this error. //user should not be informed about this error. //user should not be informed about this error.
typeName
string