예제 #1
0
            public string ResolveManifestToken(DbConnection connection)
            {
                var sqlConn = connection as SqlConnection;
                //if (sqlConn != null && sqlConn.DataSource == @".\SQLEXPRESS")
                string strReturn;

                if (sqlConn != null)
                {
                    strReturn = SqlSerVersion;
                }
                else
                {
                    strReturn     = _defaultResolver.ResolveManifestToken(connection);
                    SqlSerVersion = strReturn;
                }
                return(strReturn);
            }