IE8面向Web开发人员的功能改进



SELECT [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_id] = @p0) AND ([t0].[a_type] = @p1) -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT TOP (1) [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_type] = @p0) AND ([t0].[a_id] < @p1) ORDER BY [t0].[a_id] DESC -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT TOP (1) [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_type] = @p0) AND ([t0].[a_id] > @p1) ORDER BY [t0].[a_id] -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo] FROM [dbo].[mvc_content] AS [t0] WHERE ([t0].[a_id] = @p0) AND ([t0].[a_type] = @p1) -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 UPDATE [dbo].[mvc_content] SET [a_hits] = @p19 WHERE ([a_id] = @p0) AND ([a_site] = @p1) AND ([a_model] = @p2) AND ([a_type] = @p3) AND ([a_special] = @p4) AND ([a_name] = @p5) AND ([a_from] = @p6) AND ([a_from_url] IS NULL) AND ([a_author] IS NULL) AND ([a_editor] IS NULL) AND ([a_describe] IS NULL) AND ([a_content] = @p7) AND ([a_create_date] = @p8) AND ([a_tag] = @p9) AND ([a_hits] = @p10) AND (NOT ([a_commend] = 1)) AND (NOT ([a_istop] = 1)) AND (NOT ([a_isimg] = 1)) AND ([a_cacheimg] IS NULL) AND ([a_imgurls] IS NULL) AND ([a_imgurl] = @p11) AND (NOT ([a_ismedia] = 1)) AND ([a_mediaurl] IS NULL) AND (NOT ([a_iscomment] = 1)) AND (NOT ([a_isRecycle] = 1)) AND ([a_weight] = @p12) AND ([a_status] = @p13) AND ([a_url] IS NULL) AND ([a_file_path] IS NULL) AND ([a_contentfile] IS NULL) AND ([a_comment] = @p14) AND ([a_ispass] = @p15) AND ([a_bury] = @p16) AND ([a_dig] = @p17) AND ([a_score] = @p18) AND ([a_diguser] IS NULL) AND ([a_buryuser] IS NULL) AND ([a_viewip] IS NULL) AND ([a_lastviewdate] IS NULL) AND ([a_neworimageorvideo] IS NULL) SELECT [t1].[a_weights], [t1].[a_rank] FROM [dbo].[mvc_content] AS [t1] WHERE ((@@ROWCOUNT) > 0) AND ([t1].[a_id] = @p20) -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [197] -- @p2: Input BigInt (Size = 0; Prec = 0; Scale = 0) [24] -- @p3: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p4: Input BigInt (Size = 0; Prec = 0; Scale = 0) [0] -- @p5: Input NVarChar (Size = 17; Prec = 0; Scale = 0) [IE8面向Web开发人员的功能改进] -- @p6: Input NVarChar (Size = 4; Prec = 0; Scale = 0) [3415] -- @p7: Input NVarChar (Size = 19653; Prec = 0; Scale = 0) [

2009年3月20日,微软向全球发布了Windows Internet Explorer 8(IE8)正式版,成为人们关注的焦点。IE8迄今最符合标准的版本,它完全支持级联样式表 (CSS) 级别 2.1,并加强了对 CSS 3、HTML 4.01 的支持,也能很好地支持 HTML 5。由于改进了对这些 HTML 元素的支持,Web 开发人员现在可以构建更具表现力和可访问的 HTML 标记。本文将探讨对IE8中关于 HTML 和 CSS 支持行为的更改,以及这些更改如何影响 Web 开发人员。

HTML改进

为了帮助开发人员充分利用 HTML 4.01 提供的元素和更好地解释 Web 开发人员期望表达的语意含义,Windows Internet Explorer 升级了对下列表示性元素的支持:

P自动添加元素结束标记

当后面跟随 TABLE、FORM、NOFRAMES 或 NOSCRIPT 元素时,缺少结束标记的 P 元素会立即自动添加结束标记。

<html>      
<head>         
<title>简单的 P 元素结束示例</title>         
<meta http-equiv="X-UA-Compatible" content="IE8"/>      
</head>      
<body>         
 
 <p>这是第一段</p> 
        
 <p style="margin-left:30px">这是第二段。<!-- P not closed --> 
        
 <table border="1px" cellpadding="2px"><tr><td>这是一个表格单元格。</td></tr></table>     
      
 <p>这是第三段。</p> 
      
</body> 
</html>

在本示例中,第二个 P 元素缺少结束标记。当使用 Windows Internet Explorer 7 查看时,TABLE 元素作为第二个 P 元素的子元素显示。第二个 P 元素从窗口的左边距缩进 30 像素。由于 TABLE 是该 P 元素的子元素,它也从该窗口的左边距缩进。但是,当使用 Windows Internet Explorer 8 的默认模式查看时,TABLE 元素与左边距对齐。由于 Windows Internet Explorer 8 在显示 TABLE 元素前自动添加了该 P 元素所缺少的结束标记,因此在IE8里TABLE 元素不是第二个P元素的子元素。

使用 OBJECT 元素显示图像

Windows Internet Explorer 8 可以使用 OBJECT 元素显示图像。在旧版本的浏览器中使用此元素显示图像时,它常常自动将滚动条和边框添加到图像中,从而往往导致图像显示不正确。

在 Windows Internet Explorer 8 中,OBJECT 元素显示图像时就像这些图像是使用 IMG 元素嵌入的一样。要在网页中使用此行为,请将 OBJECT 元素的 DATA 属性设置为图像的 URL。您也可以在 DATA 属性中嵌入 dataURL。
 要使 Windows Internet Explorer 将图像加载到使用旧版本行为的 OBJECT 元素中,请对网页选择旧兼容性模式或将 OBJECT 元素的 TYPE 属性设置为 text/html。

改进的回退对象

当 OBJECT 元素加载资源失败时,将改为呈现 OBJECT 元素内部的内容。这称为对象回退,因为它允许您定义 Windows Internet Explorer 在遇到问题进行“回退”时所用的策略。

Windows Internet Explorer 7 引入了此功能以嵌套 OBJECT 元素;即使用多个 OBJECT 元素创建更丰富的回退策略,如以下示例中所示:

<object data="..." type="silverlight" >    
<object data="..." type="windows media file">       
  <object data="..." type="image/png">
         
   -_-!!!
    
   </object>    
</object>
<object>

此示例使用三个 OBJECT 元素定义一个对象回退策略。它首先尝试加载 Silverlight 应用程序。如果此操作失败,则要求使用Microsoft Windows Media 文件。如果无法加载 Windows Media 文件,则此示例加载一个图像。

如果您使用 Windows Internet Explorer 7 查看此示例,将会看到此图像,但是页面的文档对象模型 (DOM) 中只有一个 OBJECT 元素,因为 Windows Internet Explorer 7 不会为加载失败的对象创建 OBJECT 元素。

如果您使用 Windows Internet Explorer 8 查看此示例,将会看到页面的 DOM 中有包含三个 OBJECT 元素的图像。由于加载失败,前两个 OBJECT 元素处于非活动状态。不过,您可以使用 JavaScript 搜索这些元素。

注意:如果不刷新页面或使用 JavaScript 加载新对象,则无法重新激活处于非活动状态的对象。

Windows Internet Explorer 8 仅将这一新的回退行为用于与通信相关的错误,即只在加载请求生成客户端 HTTP 错误响应 (4xx) 或服务器 HTTP 错误响应 (5xx) 时发生。如果由于其他原因(如内容格式不正确或 ActiveX 控件损坏)导致请求失败,将发生原始回退行为。

HTML 5/AJAX 增强功能

Windows Internet Explorer 8 的 HTML 5 增强功能包括 AJAX 导航、DOM 存储、跨文档消息传送 (XDM) 和连接事件。它们是严格按照 W3C HTML 5.0 草案开发的。

CSS改进

Windows Internet Explorer 8 是迄今为止 CSS 符合性最高的版本,它完全支持级联样式表 (CSS) 级别 2.1,并加强了对 CSS 3支持。下面是最为突出的几个亮点:
数据统一资源标识符 (URI)(最长32768个字符)
此机制允许网页作者直接在 URI 中嵌入小型实体,而不是使用 URI 标识检索实体的位置。此操作主要适用于在 CSS 或布局中使用的小图像(如项目符号)。

  1. 新伪类
    以下是 Windows Internet Explorer 8 新增的内容:
    :before 和 :after 伪元素允许作者指定与元素的文档树内容有关的动态内容的位置。
    :focus 指的是用户何时激活元素以使它可以执行任务。此伪类适用于元素具有输入焦点的情况。
    Outline 可以突出显示元素,但不会影响其大小。它是 outline-color、outline-style 和 outline-width 的简化属性。
  2. 打印
    为了简化打印,已添加了下列属性:
    page-break-inside
    widows
    orphans
  3. 表格布局
     多年来,表格始终是 Internet 上的首选布局机制。在 Windows Internet Explorer 8 中,现在可以使用 display 属性将表格类型格式应用于非表格元素。实际上,CSS 表格比 HTML 标记更灵活;使用 CSS 规则创建的表格嵌套元素后即有效,而使用 HTML 创建的表格会关闭容器以避免意外嵌套。

下表收集了 Windows Internet Explorer 8 中支持的各种改进的 CSS 属性,并与 Windows Internet Explorer 7 进行了比较,内容一目了然。这些表未详尽列出 Windows Internet Explorer 8 支持的所有 CSS 属性;只显示了 Windows Internet Explorer 7 不支持或部分支持,而现在 Windows Internet Explorer 8 支持的 CSS 属性。

单元格中的“部分”值表示只能在该版本的 Windows Internet Explorer 中部分实现此功能。

伪类

CSS 2.1

 

IE 7.0

IE 8.0

active { sRules } :

:active

部分

after { sRules } :

:after

before { sRules } :

:before

focus { sRules } :

:focus

lang(C) { sRules } :

lang():

列表

 CSS 2.1 

 

IE 7.0 

IE 8.0 

{ list-style-type :sStyle } 

list-style-type

部分

颜色和背景

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ background-position :sPosition } 

background-position

部分

字体和文本

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ font-weight :sWeight } 

font-weight

部分

{ white-space :sWrap } 

white-space 

部分

{ word-spacing :sSpacing } 

word-spacing 

部分

生成的内容

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ content :sContent } 

content

{ counter-increment :sCounter } 

counter-increment

{ counter-reset :sCounter } 

counter-reset

{ quotes :sQuotes } 

quotes 

边框和布局

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ border-collapse :sCollapse } 

border-collapse

部分

{ border-spacing :sSpacing } 

border-spacing

{ border-style :sStyle } 

border-style

部分

{ caption-side :sLocation } 

caption-side

{ empty-cells :sEmptyCells } 

empty-cells 

部分

定位

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ bottom :sBottom } 

bottom

部分

{ display :sDisplay } 

display

部分

{ left :sPosition } 

left

部分

{ right :sPosition } 

right

部分

{ top :sTop } 

top

部分

{ z-index :vOrder } 

z-index

部分

打印

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ orphans :nLines } 

orphans

{ page-break-inside :sBreak } 

page-break-inside

{ widows :nLines } 

widows

用户界面

CSS 2.1  

 

IE 7.0 

IE 8.0 

{ outline :sOutline } 

outline

{ outline-color :sColor } 

outline-color

{ outline-style :sStyle } 

outline-style

{ outline-width :sWidth } 

outline-width

CSS 3  

 

IE 7.0 

IE 8.0 

{ box-sizing :sSizing } 

box-sizing 

函数

CSS 2.1  

IE 7.0 

IE 8.0 

counter() 

attr() 

关键字

CSS 2.1  

IE 7.0 

IE 8.0 

Inherit 

文本兼容性模式 

Windows Internet Explorer 8 精心构建了一种新的布局引擎,该引擎提供全面的 CSS 2.1 支持和强大的 HTML 5 支持以及文档对象模型 (DOM) 的互操作性修补程序。默认情况下,将启用标准支持的最高级别。网站作者可以使用以下 META 标记在 Windows Internet Explorer 8 中选择 EmulationIE7 模式呈现:

<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />

开发工具

Windows Internet Explorer 8 中增强的开发工具可提供网页的内部元素,有助于研究和解决 HTML、CSS 和脚本方面的问题。包含下列工具:
CSS 工具,用于显示您的网页加载的样式表所定义的各种规则。
脚本调试,一种内置轻型调试器,让您无需退出 Windows Internet Explorer 即可设置断点并查看客户端脚本。
版本模式切换,允许您切换到其他浏览器模式以测试内容是否符合标准符合性。
探查器,一种内置工具,用于显示浏览器在哪个执行阶段花费了大量时间,以便网页作者重点进行优化。
IE 8开发工具的界面如图所示,有关开发工具详细信息,请参阅下列网站:
http://www.cnblogs.com/JustinYoung/

参考文档

IE8 White Paper(白皮书)
下载页面:
http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=ie8whitepapers&ReleaseId=567
IE8博客:
http://blogs.msdn.com/ie/

原文:http://webteam.tencent.com/?p=999

] -- @p8: Input DateTime (Size = 0; Prec = 0; Scale = 0) [2009-6-23 10:16:58] -- @p9: Input NVarChar (Size = 21; Prec = 0; Scale = 0) [IE8,面向,Web,开发人员,功能,改进] -- @p10: Input BigInt (Size = 0; Prec = 0; Scale = 0) [1081] -- @p11: Input NVarChar (Size = 0; Prec = 0; Scale = 0) [] -- @p12: Input BigInt (Size = 0; Prec = 0; Scale = 0) [0] -- @p13: Input Int (Size = 0; Prec = 0; Scale = 0) [0] -- @p14: Input BigInt (Size = 0; Prec = 0; Scale = 0) [0] -- @p15: Input Int (Size = 0; Prec = 0; Scale = 0) [0] -- @p16: Input BigInt (Size = 0; Prec = 0; Scale = 0) [0] -- @p17: Input BigInt (Size = 0; Prec = 0; Scale = 0) [0] -- @p18: Input Float (Size = 0; Prec = 0; Scale = 0) [0] -- @p19: Input BigInt (Size = 0; Prec = 0; Scale = 0) [1082] -- @p20: Input BigInt (Size = 0; Prec = 0; Scale = 0) [6356] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT TOP (10) [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_type] IN (@p0, @p1, @p2, @p3, @p4)) AND (NOT ([t0].[a_isRecycle] = 1)) ORDER BY [t0].[a_id] DESC -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [248] -- @p2: Input BigInt (Size = 0; Prec = 0; Scale = 0) [251] -- @p3: Input BigInt (Size = 0; Prec = 0; Scale = 0) [249] -- @p4: Input BigInt (Size = 0; Prec = 0; Scale = 0) [241] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT TOP (10) [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_type] IN (@p0, @p1, @p2, @p3, @p4)) AND (NOT ([t0].[a_isRecycle] = 1)) ORDER BY [t0].[a_id] DESC -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [248] -- @p2: Input BigInt (Size = 0; Prec = 0; Scale = 0) [251] -- @p3: Input BigInt (Size = 0; Prec = 0; Scale = 0) [249] -- @p4: Input BigInt (Size = 0; Prec = 0; Scale = 0) [241] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1 SELECT TOP (10) [t0].[a_id], [t0].[a_site], [t0].[a_model], [t0].[a_type], [t0].[a_special], [t0].[a_name], [t0].[a_from], [t0].[a_from_url], [t0].[a_author], [t0].[a_editor], [t0].[a_describe], [t0].[a_content], [t0].[a_create_date], [t0].[a_tag], [t0].[a_hits], [t0].[a_commend], [t0].[a_istop], [t0].[a_isimg], [t0].[a_cacheimg], [t0].[a_imgurls], [t0].[a_imgurl], [t0].[a_ismedia], [t0].[a_mediaurl], [t0].[a_iscomment], [t0].[a_isRecycle], [t0].[a_weight], [t0].[a_weights], [t0].[a_status], [t0].[a_url], [t0].[a_file_path], [t0].[a_contentfile], [t0].[a_comment], [t0].[a_ispass], [t0].[a_bury], [t0].[a_dig], [t0].[a_score], [t0].[a_rank], [t0].[a_diguser], [t0].[a_buryuser], [t0].[a_viewip], [t0].[a_lastviewdate], [t0].[a_neworimageorvideo], [t0].[class_id], [t0].[class_type], [t0].[class_name], [t0].[class_show_name], [t0].[class_parent_id], [t0].[class_id_path], [t0].[class_name_path], [t0].[class_show_name_path], [t0].[class_depth], [t0].[class_order], [t0].[class_content], [t0].[class_img], [t0].[a_model_name] FROM [dbo].[mvc_content_view] AS [t0] WHERE ([t0].[a_type] IN (@p0, @p1, @p2, @p3, @p4)) AND (NOT ([t0].[a_isRecycle] = 1)) ORDER BY [t0].[a_hits] DESC, [t0].[a_id] DESC -- @p0: Input BigInt (Size = 0; Prec = 0; Scale = 0) [232] -- @p1: Input BigInt (Size = 0; Prec = 0; Scale = 0) [248] -- @p2: Input BigInt (Size = 0; Prec = 0; Scale = 0) [251] -- @p3: Input BigInt (Size = 0; Prec = 0; Scale = 0) [249] -- @p4: Input BigInt (Size = 0; Prec = 0; Scale = 0) [241] -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build: 3.5.30729.1